OpenCL gostcoin miner
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
487 B

CC = gcc
LIBS = -Lcompat/lib -lcurl -lOpenCL -L/mingw32/lib -lwldap32 -lws2_32 -ljansson -lpthread
LDFLAGS = -s -Wl,-rpath,/usr/local/lib -Wl,-Bstatic -static-libgcc
CFLAGS = -Os -DCURL_STATICLIB -DWIN32 -DWIN32_LEAN_AND_MEAN -Wno-deprecated-declarations -Wformat -Icompat/include
OBJS = miner.o ocl.o util.o streebog.o
all: gostoclminer
%.o: %.c $(HEADERS)
$(CC) -c $(CFLAGS) -o $@ $<
gostoclminer: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
clean:
$(RM) *.o gostoclminer