diff options
-rwxr-xr-x | build.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,9 @@ #!/bin/sh mkdir -p binary -g++ -o binary/nb4 -std=c++11 main.cpp socketcommon.cpp client.cpp mobileclient.cpp server.cpp netcore.cpp dns.cpp -lgnutls -pthread -g + +NETCODE="socketcommon.cpp client.cpp mobileclient.cpp server.cpp netcore.cpp" +SOURCES="$NETCODE main.cpp dns.cpp" +FLAGS="-std=c++11 -lgnutls -pthread -g" + +g++ -o binary/nb4 $FLAGS $SOURCES |