BSD compatibility
- separate Makefile for BSD make - auto-compile will detect BSD and pass the correct parameters to make - C PoW builds on OpenBSD and detects number of coresmaster
parent
6c907e2046
commit
75f715bfe4
@ -0,0 +1,14 @@
|
||||
all: bitmsghash.so
|
||||
|
||||
powtest:
|
||||
./testpow.py
|
||||
|
||||
bitmsghash.so: bitmsghash.o
|
||||
${CXX} bitmsghash.o -shared -fPIC -lpthread -lcrypto $(LDFLAGS) -o bitmsghash.so
|
||||
|
||||
bitmsghash.o:
|
||||
${CXX} -Wall -O3 -march=native -fPIC $(CCFLAGS) -c bitmsghash.cpp
|
||||
|
||||
clean:
|
||||
rm -f bitmsghash.o bitmsghash.so
|
||||
|
Loading…
Reference in New Issue