aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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