Peter Surda
75f715bfe4
- 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 cores
15 lines
279 B
Makefile
15 lines
279 B
Makefile
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
|
|
|