aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 0139160..659b7f9 100755
--- a/build.sh
+++ b/build.sh
@@ -19,7 +19,10 @@ shift $((OPTIND-1))
printf "\n\nmaking project\n"
clang -Ilibs/iceys-c-libs -c libs/iceys-c-libs/iceys-utils.c -o obj/iceys-utils.o
+clang -Ilibs/socket -c libs/socket/Server.c -o obj/Server.o
+clang -Ilibs/socket -c libs/socket/launch-socket.c -o obj/launch-socket.o
+
+clang obj/Server.o obj/iceys-utils.o obj/launch-socket.o -o bin/socket src/main.c $LIB $DEBUG_FLAGS -lm
-clang obj/iceys-utils.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