Changed Makefile to use CXX instead of g++

- is more standardised
- closes #882
This commit is contained in:
Peter Šurda 2017-02-25 22:33:31 +01:00
parent b50198afb5
commit 7ef91bd607
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -15,10 +15,10 @@ powtest:
./testpow.py ./testpow.py
bitmsghash.so: bitmsghash.o bitmsghash.so: bitmsghash.o
g++ bitmsghash.o -shared -fPIC -lcrypto $(LDFLAGS) ${CXX} bitmsghash.o -shared -fPIC -lcrypto $(LDFLAGS)
bitmsghash.o: bitmsghash.o:
g++ -Wall -O3 -march=native -fPIC $(CCFLAGS) -c bitmsghash.cpp ${CXX} -Wall -O3 -march=native -fPIC $(CCFLAGS) -c bitmsghash.cpp
clean: clean:
rm -f bitmsghash.o bitmsghash.so bitmsghash*.dll rm -f bitmsghash.o bitmsghash.so bitmsghash*.dll