diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-09-19 10:06:15 -0400 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-09-19 10:06:15 -0400 |
commit | d338a726a6ce2ede71c6887959ce0ef31a9e5d38 (patch) | |
tree | d2cbc72c3e91fb2d199622426acbd7d7cea5042b /Makefile | |
parent | c36846a96fd45e57f37ce73e49af8275a305d4b4 (diff) |
update makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -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 |