mirror of
https://github.com/GOSTSec/vanitygen
synced 2025-02-07 12:24:20 +00:00
Merge branch 'master' of github.com:samr7/vanitygen
This commit is contained in:
commit
2de1c2e647
7
INSTALL
Normal file
7
INSTALL
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Linux:
|
||||||
|
make vanitygen
|
||||||
|
make oclvanitygen
|
||||||
|
|
||||||
|
OSX:
|
||||||
|
make -f Makefile.osx vanitygen
|
||||||
|
make -f Makefile.osx vanitygen
|
16
Makefile.osx
Normal file
16
Makefile.osx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
LIBS=-lpcre -lcrypto -lm -lpthread
|
||||||
|
CFLAGS=-ggdb -O3 -Wall
|
||||||
|
OBJS=vanitygen.o oclvanitygen.o pattern.o
|
||||||
|
PROGS=vanitygen
|
||||||
|
TESTS=
|
||||||
|
|
||||||
|
all: $(PROGS)
|
||||||
|
|
||||||
|
vanitygen: vanitygen.o pattern.o
|
||||||
|
$(CC) $^ -o $@ $(CFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
oclvanitygen: oclvanitygen.o pattern.o
|
||||||
|
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) -framework OpenCL
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(OBJS) $(PROGS) $(TESTS)
|
@ -28,7 +28,14 @@
|
|||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
#include <openssl/md5.h>
|
#include <openssl/md5.h>
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <OpenCL/cl.h>
|
||||||
|
#ifndef CL_CALLBACK
|
||||||
|
#define CL_CALLBACK
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
#include <CL/cl.h>
|
#include <CL/cl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "pattern.h"
|
#include "pattern.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user