Initial commit

This commit is contained in:
2023-10-09 20:49:57 +02:00
commit b7072a0b49
6 changed files with 389 additions and 0 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
CC := gcc
CFLAGS := -std=gnu11 -Wall -Wextra -pedantic -g
LDLIBS := -lssl -lcrypto -lz
all: server client
server: server.c
$(CC) $(CFLAGS) $^ $(LDLIBS) -o $@
client: client.c
$(CC) $(CFLAGS) $^ $(LDLIBS) -o $@
format:
clang-format -i *.c
clean:
rm client server