aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..654acc8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+
+CC = gcc
+# CFLAGS = -std=c99 -target x86_64-apple-darwin20 -g
+# CFLAGS = -g -I. -std=gnu99 -Wall -pthread
+CFLAGS = -o
+
+all: server client
+
+server:
+ $(CC) $(CFLAGS) snowcast_server server.c
+
+client:
+ $(CC) $(CFLAGS) snowcast_control client.c
+ $(CC) $(CFLAGS) snowcast_listener listener.c
+
+clean:
+ rm -fv snowcast_control snowcast_listener snowcast_server