From d338a726a6ce2ede71c6887959ce0ef31a9e5d38 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Tue, 19 Sep 2023 10:06:15 -0400 Subject: update makefile --- Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d48b036..064971c 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,23 @@ CC = gcc # CFLAGS = -std=c99 -target x86_64-apple-darwin20 -g CFLAGS = -g -I. -std=gnu99 -Wall -pthread +RM = rm -f default: all all: server client server: server.c - $(CC) $(CFLAGS) -o snowcast_server snowcast_server.c + $(CC) $(CFLAGS) -o snowcast_server snowcast_server_concurrent.c client: client.c $(CC) $(CFLAGS) -o snowcast_control client.c + $(CC) $(CFLAGS) -o snowcast_listener listener.c -new: - $(CC) $(CFLAGS) -o s snowcast_server_concurrent.c - $(CC) $(CFLAGS) -o l listener.c - $(CC) $(CFLAGS) -o c client.c \ No newline at end of file +# new: +# $(CC) $(CFLAGS) -o s snowcast_server_concurrent.c +# $(CC) $(CFLAGS) -o l listener.c +# $(CC) $(CFLAGS) -o c client.c + +clean: + $(RM) snowcast_server snowcast_control snowcast_listener \ No newline at end of file -- cgit v1.2.3-70-g09d2