Skip to content

Commit

Permalink
Display hint message when given impossible prefix.
Browse files Browse the repository at this point in the history
Split source into multiple files.
Add experimental, unoptimized OpenCL implementation.
Bump version to 0.13
  • Loading branch information
samr7 committed Jul 17, 2011
1 parent 34b6aa6 commit 2dcd8fd
Show file tree
Hide file tree
Showing 9 changed files with 4,369 additions and 2,124 deletions.
15 changes: 11 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall
OBJS=vanitygen.o
OBJS=vanitygen.o oclvanitygen.o pattern.o
PROGS=vanitygen
TESTS=

vanitygen: $(OBJS)
$(CC) $(OBJS) -o $@ $(CFLAGS) $(LIBS)
all: $(PROGS)

vanitygen: vanitygen.o pattern.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS)

oclvanitygen: oclvanitygen.o pattern.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) -lOpenCL

clean:
rm -f $(OBJS) vanitygen
rm -f $(OBJS) $(PROGS) $(TESTS)
5 changes: 2 additions & 3 deletions Makefile.Win32
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PTHREADS_DIR = C:\pthreads-w32
PCRE_DIR = C:\pcre-7.9-src
CFLAGS = /D_WIN32 /DPTW32_STATIC_LIB /DPCRE_STATIC /I$(OPENSSL_DIR)\include /I$(PTHREADS_DIR) /I$(PCRE_DIR)
LIBS = $(OPENSSL_DIR)\lib\libeay32.lib $(PTHREADS_DIR)\pthread.lib $(PCRE_DIR)\pcre.lib ws2_32.lib
OBJS = vanitygen.obj
OBJS = vanitygen.obj pattern.obj winglue.obj

all: vanitygen.exe

Expand All @@ -15,5 +15,4 @@ vanitygen.exe: $(OBJS)
$(CC) $(CFLAGS) /c /Tp$< /Fo$@

clean:
del vanitygen.exe
del vanitygen.obj
del vanitygen.exe $(OBJS)
Loading

0 comments on commit 2dcd8fd

Please sign in to comment.