use /usr/local/opt/openssl symlink, ignore a.out
This commit is contained in:
parent
1cdbb90f22
commit
2f422d46c5
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,6 +10,7 @@ src/.settings/
|
||||||
src/**/.dll
|
src/**/.dll
|
||||||
src/**/*.o
|
src/**/*.o
|
||||||
src/**/*.so
|
src/**/*.so
|
||||||
|
src/**/a.out
|
||||||
build/lib.*
|
build/lib.*
|
||||||
build/temp.*
|
build/temp.*
|
||||||
dist
|
dist
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
CCFLAGS += -I/usr/local/Cellar/openssl/1.0.2d_1/include
|
CCFLAGS += -I/usr/local/opt/openssl/include
|
||||||
LDFLAGS += -L/usr/local/Cellar/openssl/1.0.2d_1/lib
|
LDFLAGS += -L/usr/local/opt/openssl/lib
|
||||||
else ifeq ($(UNAME_S),MINGW32_NT-6.1)
|
else ifeq ($(UNAME_S),MINGW32_NT-6.1)
|
||||||
CCFLAGS += -IC:\OpenSSL-1.0.2j-mingw\include -D_WIN32 -march=native
|
CCFLAGS += -IC:\OpenSSL-1.0.2j-mingw\include -D_WIN32 -march=native
|
||||||
LDFLAGS += -static-libgcc -LC:\OpenSSL-1.0.2j-mingw\lib -lwsock32 -o bitmsghash32.dll -Wl,--out-implib,bitmsghash.a
|
LDFLAGS += -static-libgcc -LC:\OpenSSL-1.0.2j-mingw\lib -lwsock32 -o bitmsghash32.dll -Wl,--out-implib,bitmsghash.a
|
||||||
else
|
else
|
||||||
LDFLAGS += -lpthread -o bitmsghash.so
|
LDFLAGS += -lpthread -o bitmsghash.so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: bitmsghash.so
|
all: bitmsghash.so
|
||||||
|
|
||||||
powtest:
|
powtest:
|
||||||
|
@ -22,4 +22,3 @@ bitmsghash.o:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f bitmsghash.o bitmsghash.so bitmsghash*.dll
|
rm -f bitmsghash.o bitmsghash.so bitmsghash*.dll
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user