Add Makefile

This commit is contained in:
gandc 2025-03-14 16:54:20 +03:00
parent 941187d3f0
commit 439699abc4
Signed by: gandc
GPG Key ID: 9F77B03D43C42CB4

View File

@ -0,0 +1,15 @@
CC = gcc
CFLAGS = -Wall -Wextra -O2
TARGETS = server client
all: $(TARGETS)
server: server.c
$(CC) $(CFLAGS) -o server server.c
client: client.c
$(CC) $(CFLAGS) -o client client.c
clean:
rm -f $(TARGETS)