1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-26 22:44:21 +00:00
sgminer/Makefile
Jeff Garzik 9599867d8b Initial revision of CPU miner.
NOTE: non-functional (incorrectly thinks it finds solution, too quickly)
2010-11-23 23:33:20 -05:00

23 lines
253 B
Makefile

CFLAGS= -O2 -Wall -g
PROG = minerd
OBJS = cpu-miner.o
LDFLAGS = $(CFLAGS)
LIBS = -lcurl -ljansson -lcrypto
all: $(PROG)
.c.o:
gcc $(CFLAGS) -c $< -o $@
clean:
rm -f $(PROG) $(OBJS)
$(PROG): $(OBJS)
gcc $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)