V0.6 #852

Merged
Atheros1 merged 399 commits from v0.6 into master 2016-05-03 01:58:38 +02:00
Showing only changes of commit 53ca944483 - Show all commits

View File

@ -1,13 +1,19 @@
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
CCFLAGS += -I/usr/local/Cellar/openssl/1.0.2d_1/include
LDFLAGS += -L/usr/local/Cellar/openssl/1.0.2d_1/lib
endif
all: bitmsghash.so
powtest:
./testpow.py
bitmsghash.so: bitmsghash.o
g++ bitmsghash.o -shared -fPIC -lpthread -lcrypto -o bitmsghash.so
g++ bitmsghash.o -shared -fPIC -lpthread -lcrypto $(LDFLAGS) -o bitmsghash.so
bitmsghash.o:
g++ -Wall -O3 -march=native -fPIC -c bitmsghash.cpp
g++ -Wall -O3 -march=native -fPIC $(CCFLAGS) -c bitmsghash.cpp
clean:
rm -f bitmsghash.o bitmsghash.so