aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-09-23 23:37:22 +0000
committersotech117 <michael_foiani@brown.edu>2023-09-23 23:37:22 +0000
commit759b0550996b251d1bf4ae64a6a6f5c2059d2479 (patch)
tree03534b77f9cfc7e78b0c477e9b2e9f7de5bf99a3 /Makefile
parent5e3925610f1e9a1351c2b22cfa10b08385015b31 (diff)
parentc2348702491e5ea65e64b1ab7d2f51c5bad1562b (diff)
try some stuff, no avail
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 725e61e..654acc8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,17 @@
CC = gcc
# CFLAGS = -std=c99 -target x86_64-apple-darwin20 -g
-CFLAGS = -g -I. -std=gnu99 -Wall -pthread
+# CFLAGS = -g -I. -std=gnu99 -Wall -pthread
+CFLAGS = -o
all: server client
server:
- $(CC) $(CFLAGS) -o snowcast_server server.c
+ $(CC) $(CFLAGS) snowcast_server server.c
client:
- $(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
-
+ $(CC) $(CFLAGS) snowcast_control client.c
+ $(CC) $(CFLAGS) snowcast_listener listener.c
+
clean:
rm -fv snowcast_control snowcast_listener snowcast_server