LIBS=-lpcre -lcrypto -lm -lpthread CFLAGS=-ggdb -O3 -Wall OBJS=vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o PROGS=vanitygen oclvanitygen oclvanityminer keyconv TESTS= all: $(PROGS) vanitygen: vanitygen.o pattern.o util.o $(CC) $^ -o $@ $(CFLAGS) $(LIBS) oclvanitygen: oclvanitygen.o oclengine.o pattern.o util.o $(CC) $^ -o $@ $(CFLAGS) $(LIBS) -framework OpenCL oclvanityminer: oclvanityminer.o oclengine.o pattern.o util.o $(CC) $^ -o $@ $(CFLAGS) $(LIBS) -lcurl -framework OpenCL keyconv: keyconv.o util.o $(CC) $^ -o $@ $(CFLAGS) $(LIBS) clean: rm -f $(OBJS) $(PROGS) $(TESTS)