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.

24 lines
416 B

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