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