diff options
author | Treeki <treeki@gmail.com> | 2014-01-20 10:27:29 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-01-20 10:27:29 +0100 |
commit | 84e469bef68f67cd56c4a643dcfc9d050c5cd398 (patch) | |
tree | d32060e589b9a6459a7211ccc09199c9e2327904 | |
parent | c82c6f3671206a945d4a40227246ec5df4460232 (diff) | |
download | bounce4-84e469bef68f67cd56c4a643dcfc9d050c5cd398.tar.gz bounce4-84e469bef68f67cd56c4a643dcfc9d050c5cd398.zip |
clean up build.sh a litlte
-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 |