mirror of https://github.com/GOSTSec/vanitygen
samr7
13 years ago
2 changed files with 6 additions and 16 deletions
@ -1,25 +1,15 @@ |
|||||||
LIBS=-lpcre -lcrypto -lm -lpthread |
LIBS=-lpcre -lcrypto -lm -lpthread |
||||||
CFLAGS=-ggdb -O3 -Wall |
CFLAGS=-ggdb -O3 -Wall |
||||||
OBJS=vanitygen.o oclvanitygen.o oclbntest.o pattern.o util.o |
OBJS=vanitygen.o oclvanitygen.o pattern.o util.o |
||||||
PROGS=vanitygen oclvanitygen keytool |
PROGS=vanitygen |
||||||
TESTS=oclhbntest |
|
||||||
|
|
||||||
all: $(PROGS) $(TESTS) |
all: $(PROGS) |
||||||
|
|
||||||
vanitygen: vanitygen.o pattern.o util.o |
vanitygen: vanitygen.o pattern.o util.o |
||||||
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) |
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) |
||||||
|
|
||||||
keytool: keytool.o util.o |
|
||||||
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) |
|
||||||
|
|
||||||
oclvanitygen: oclvanitygen.o pattern.o util.o |
oclvanitygen: oclvanitygen.o pattern.o util.o |
||||||
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) -lOpenCL |
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) -lOpenCL |
||||||
|
|
||||||
oclhbntest.o: oclhbntest.c calc_addrs.cl |
|
||||||
$(CC) -c $< -o $@ $(CFLAGS) -m32 |
|
||||||
|
|
||||||
oclhbntest: oclhbntest.o |
|
||||||
$(CC) $^ -o $@ $(CFLAGS) -m32 libcrypto32.a -lz -ldl -lpthread |
|
||||||
|
|
||||||
clean: |
clean: |
||||||
rm -f $(OBJS) $(PROGS) $(TESTS) |
rm -f $(OBJS) $(PROGS) $(TESTS) |
||||||
|
Loading…
Reference in new issue