From 439699abc431db86734f3af1f539455512da807d Mon Sep 17 00:00:00 2001 From: gandc Date: Fri, 14 Mar 2025 16:54:20 +0300 Subject: [PATCH] Add Makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Makefile b/Makefile index e69de29..bd45f9d 100644 --- a/Makefile +++ b/Makefile @@ -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)