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 @@ @@ -1,25 +1,15 @@
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall
OBJS=vanitygen.o oclvanitygen.o oclbntest.o pattern.o util.o
PROGS=vanitygen oclvanitygen keytool
TESTS=oclhbntest
OBJS=vanitygen.o oclvanitygen.o pattern.o util.o
PROGS=vanitygen
all: $(PROGS) $(TESTS)
all: $(PROGS)
vanitygen: vanitygen.o pattern.o util.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS)
keytool: keytool.o util.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS)
oclvanitygen: oclvanitygen.o pattern.o util.o
$(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:
rm -f $(OBJS) $(PROGS) $(TESTS)

6
Makefile.osx vendored

@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall
OBJS=vanitygen.o oclvanitygen.o pattern.o
OBJS=vanitygen.o oclvanitygen.o pattern.o util.o
PROGS=vanitygen
TESTS=
all: $(PROGS)
vanitygen: vanitygen.o pattern.o
vanitygen: vanitygen.o pattern.o util.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS)
oclvanitygen: oclvanitygen.o pattern.o
oclvanitygen: oclvanitygen.o pattern.o util.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) -framework OpenCL
clean:

Loading…
Cancel
Save