mirror of https://github.com/GOSTSec/sgminer
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
253 B
23 lines
253 B
14 years ago
|
|
||
|
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)
|
||
|
|