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.
 
 
 

23 lines
416 B

INCLUDEPATHS=-I.
LIBS=-lOpenCL -ljansson -lcurl -lpthread
# LDFLAGS = -L$(AMDAPPSDKROOT)/lib/x86_64
LDFLAGS = -L/usr/local/cuda/lib64
DEFS=
DEBUGFLAGS=-g
CFLAGS=-O3 -Wformat $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
HEADERS=
OBJS=miner.o ocl.o util.o streebog.o
all: gostoclminer
%.o: %.c $(HEADERS)
gcc -c $(CFLAGS) -o $@ $<
gostoclminer: $(OBJS)
gcc $(LDFLAGS) -o $@ $^ $(LIBS)
clean:
-rm *.o gostoclminer