diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-10-05 00:46:12 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-10-05 00:46:12 -0500 |
| commit | f31e484b621de3deaf33ac10d31de6b055ef3bf6 (patch) | |
| tree | a4386ae11895f8fb7b52857ce11018afb884b8ed | |
| parent | 817a3b2422c7966fc0ae47ba7ebfbd086792471c (diff) | |
updated socket lib
| -rwxr-xr-x | build.sh | 5 | ||||
| -rw-r--r-- | compile_flags.txt | 2 | ||||
| m--------- | libs/socket | 0 | ||||
| -rwxr-xr-x | src/main.c | 3 |
4 files changed, 7 insertions, 3 deletions
@@ -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 diff --git a/compile_flags.txt b/compile_flags.txt index edd63a2..d2cde3a 100644 --- a/compile_flags.txt +++ b/compile_flags.txt @@ -1,2 +1,2 @@ --I/home/iceyrazor/stuff/scripts/c/my_utils/socket +-Ilibs/socket -Ilibs/iceys-c-libs
\ No newline at end of file diff --git a/libs/socket b/libs/socket -Subproject 7e287a8ca7164e871965339196511fdcf024892 +Subproject 3521cc6e1a87f16c8db5c3c5a0c3cf59e1ff04c @@ -1,4 +1,5 @@ -#include <launch-socket.c> +#include <launch-socket.h> +#include <Server.h> #include <pthread.h> #include <signal.h> #include <stdio.h> |
