minor makefile tweaks

This commit is contained in:
Benjamin Sergeant 2020-07-27 17:19:05 -07:00
parent 2ea9d06a93
commit 5daa59f9f3

View File

@ -174,7 +174,7 @@ autobahn_report:
cp -rvf ~/sandbox/reports/clients/* ../bsergean.github.io/IXWebSocket/autobahn/ cp -rvf ~/sandbox/reports/clients/* ../bsergean.github.io/IXWebSocket/autobahn/
httpd: httpd:
clang++ --std=c++14 --stdlib=libc++ httpd.cpp \ clang++ --std=c++14 --stdlib=libc++ -o ixhttpd httpd.cpp \
ixwebsocket/IXSelectInterruptFactory.cpp \ ixwebsocket/IXSelectInterruptFactory.cpp \
ixwebsocket/IXCancellationRequest.cpp \ ixwebsocket/IXCancellationRequest.cpp \
ixwebsocket/IXSocketTLSOptions.cpp \ ixwebsocket/IXSocketTLSOptions.cpp \
@ -193,11 +193,11 @@ httpd:
ixwebsocket/IXConnectionState.cpp \ ixwebsocket/IXConnectionState.cpp \
ixwebsocket/IXUrlParser.cpp \ ixwebsocket/IXUrlParser.cpp \
ixwebsocket/IXSelectInterrupt.cpp \ ixwebsocket/IXSelectInterrupt.cpp \
ixwebsocket/apple/IXSetThreadName_apple.cpp \ ixwebsocket/IXSetThreadName.cpp \
-lz -lz
httpd_linux: httpd_linux:
g++ --std=c++11 -o ixhttpd httpd.cpp -Iixwebsocket \ g++ --std=c++14 -o ixhttpd httpd.cpp -Iixwebsocket \
ixwebsocket/IXSelectInterruptFactory.cpp \ ixwebsocket/IXSelectInterruptFactory.cpp \
ixwebsocket/IXCancellationRequest.cpp \ ixwebsocket/IXCancellationRequest.cpp \
ixwebsocket/IXSocketTLSOptions.cpp \ ixwebsocket/IXSocketTLSOptions.cpp \
@ -216,7 +216,7 @@ httpd_linux:
ixwebsocket/IXConnectionState.cpp \ ixwebsocket/IXConnectionState.cpp \
ixwebsocket/IXUrlParser.cpp \ ixwebsocket/IXUrlParser.cpp \
ixwebsocket/IXSelectInterrupt.cpp \ ixwebsocket/IXSelectInterrupt.cpp \
ixwebsocket/linux/IXSetThreadName_linux.cpp \ ixwebsocket/IXSetThreadName.cpp \
-lz -lpthread -lz -lpthread
cp -f ixhttpd /usr/local/bin cp -f ixhttpd /usr/local/bin