Browse Source

Update the Mac OS X Makefile.

Remove some items from the Linux Makefile that should not be there.
master
samr7 13 years ago
parent
commit
b887a2fd9d
  1. 16
      Makefile
  2. 6
      Makefile.osx

16
Makefile

@ -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)

6
Makefile.osx vendored

@ -1,15 +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 pattern.o OBJS=vanitygen.o oclvanitygen.o pattern.o util.o
PROGS=vanitygen PROGS=vanitygen
TESTS= TESTS=
all: $(PROGS) all: $(PROGS)
vanitygen: vanitygen.o pattern.o vanitygen: vanitygen.o pattern.o util.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) $(CC) $^ -o $@ $(CFLAGS) $(LIBS)
oclvanitygen: oclvanitygen.o pattern.o oclvanitygen: oclvanitygen.o pattern.o util.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) -framework OpenCL $(CC) $^ -o $@ $(CFLAGS) $(LIBS) -framework OpenCL
clean: clean:

Loading…
Cancel
Save