aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 5d75123..d3bccad 100755
--- a/build.sh
+++ b/build.sh
@@ -20,10 +20,9 @@ shift $((OPTIND-1))
[ "${1:-}" = "--" ] && shift
printf "\n\nmaking project\n"
-clang -O3 -Ilibs/socket -c libs/socket/Server.c -o obj/Server.o
-clang -O3 -Ilibs/socket -c libs/socket/launch-socket.c -o obj/launch-socket.o
+clang -O3 -Ilibs/socket -c libs/socket/socket_server.c -o obj/socket_server.o
-clang -O3 obj/Server.o obj/launch-socket.o -o bin/socket src/main.c $LIB $DEBUG_FLAGS -lm
+clang -O3 obj/socket_server.o -o bin/socket src/main.c $LIB $DEBUG_FLAGS -lm
clang -o bin/client src/client.c $LIB $DEBUG_FLAGS -lm
clang -o bin/client-polled src/client-polled.c $LIB $DEBUG_FLAGS -lm