mirror of
https://github.com/GOSTSec/vanitygen
synced 2025-02-07 12:24:20 +00:00
*Added makefile for osx
*Added INSTALL file *Changed one include for running oclvanitygen on osx *Added some files to .gitignore
This commit is contained in:
parent
b20eb08517
commit
ca372318b3
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/md5.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenCL/cl.h>
|
||||
#ifndef CL_CALLBACK
|
||||
#define CL_CALLBACK
|
||||
#endif
|
||||
#else
|
||||
#include <CL/cl.h>
|
||||
#endif
|
||||
|
||||
#include "pattern.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user