Server config load and graceful client exit

This commit is contained in:
2026-01-26 01:25:16 +01:00
parent 904efbd9b9
commit fe703b6ddd
7 changed files with 252 additions and 26 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
CC = gcc
CFLAGS = -Wall -I.
LDFLAGS = -lconfig
all: client server
@@ -9,7 +10,7 @@ client:
server:
mkdir -p build
$(CC) $(CFLAGS) -o build/server server.c util/util.c
$(CC) $(CFLAGS) -o build/server server.c util/util.c $(LDFLAGS)
clean:
rm -f client server