aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-05-25 15:57:20 +0200
committercbdev <cb@cbcdn.com>2019-05-25 15:57:20 +0200
commit20323140f55607d51199af8060b3d971451ae262 (patch)
treec0a20433ce5510e54d9fd2c222bb59fa5d570a46 /makefile
parent79e063d6aa6116231fdfb374f52507236ca3770e (diff)
downloadwebsocksy-20323140f55607d51199af8060b3d971451ae262.tar.gz
websocksy-20323140f55607d51199af8060b3d971451ae262.tar.bz2
websocksy-20323140f55607d51199af8060b3d971451ae262.zip
Implement pongs, move to multiple TLUs
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/makefile b/makefile
index 0a9c4ae..4623e49 100644
--- a/makefile
+++ b/makefile
@@ -1,10 +1,13 @@
CFLAGS=-g -Wall -Wpedantic
LDLIBS=-lnettle
+OBJECTS=builtins.o network.o websocket.o
+
all: websocksy
-websocksy: websocksy.c websocksy.h ws_proto.c builtins.c
- $(CC) $(CFLAGS) $(LDLIBS) $< -o $@
+websocksy: websocksy.c websocksy.h $(OBJECTS)
+ $(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(OBJECTS)
clean:
- rm websocksy
+ $(RM) $(OBJECTS)
+ $(RM) websocksy