aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-09-19 23:06:55 -0400
committersotech117 <michael_foiani@brown.edu>2023-09-19 23:06:55 -0400
commit037e1f89ec530c2c851dc4ab60a42c6de82e9042 (patch)
treef8bbd54177e9abfaacc53172497197cf14fc792c /Makefile
parent003c34172ffa9c8256a3ec4db913c53c825c6c9f (diff)
fix make file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 23d8e32..dd41959 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
CC = gcc
-# CFLAGS = -std=c99 -target x86_64-apple-darwin20 -g
-# CFLAGS = -std=c99 -Wall -g
-
-default: all
+CFLAGS = -o
all: server client
-server: server.c
- $(CC) $(CFLAGS) -o snowcast_server server.c
+server:
+ $(CC) $(CFLAGS) snowcast_server server.c
+
+client:
+ $(CC) $(CFLAGS) snowcast_client client.c
-client: client.c
- $(CC) $(CFLAGS) -o snowcast_control client.c \ No newline at end of file
+clean:
+ rm -f server client \ No newline at end of file