aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-09-23 22:25:42 +0000
committersotech117 <michael_foiani@brown.edu>2023-09-23 22:25:42 +0000
commit61d649e615112c0c70cefce0e4489e041b8e3c75 (patch)
tree7532cfbf98e05e8615e95a321a3e020517ba4610 /Makefile
parente3f603ff96fd434fd220459dab8d63c0516f4e54 (diff)
revert makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7fe5259..b7fdd09 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,21 @@
+
CC = gcc
-CFLAGS = -o
+# CFLAGS = -std=c99 -target x86_64-apple-darwin20 -g
+CFLAGS = -g -I. -std=gnu99 -Wall -pthread
all: server client
server:
- $(CC) $(CFLAGS) snowcast_server server.c
+ $(CC) $(CFLAGS) -o snowcast_server server.c
client:
- $(CC) $(CFLAGS) snowcast_control client.c
- $(CC) $(CFLAGS) snowcast_listener listener.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
clean:
- rm -f server client
+ rm -fv server client