aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-06-01 21:27:52 +0200
committercbdev <cb@cbcdn.com>2019-06-01 21:27:52 +0200
commitb9297647c68c963a977e2c18f421211e24f9e85a (patch)
tree173d0533f7c76665dea9956ed4da4f3228e01dc9 /makefile
parent92a291b5fae32caba2212192bc94b8ef568c362d (diff)
downloadwebsocksy-b9297647c68c963a977e2c18f421211e24f9e85a.tar.gz
websocksy-b9297647c68c963a977e2c18f421211e24f9e85a.tar.bz2
websocksy-b9297647c68c963a977e2c18f421211e24f9e85a.zip
Implement file backend
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefile b/makefile
index 9ed6711..c389148 100644
--- a/makefile
+++ b/makefile
@@ -1,3 +1,4 @@
+.PHONY: all clean plugins
PLUGINPATH=plugins/
CFLAGS=-g -Wall -Wpedantic -DPLUGINS=\"$(PLUGINPATH)\"
@@ -7,7 +8,10 @@ OBJECTS=builtins.o network.o websocket.o plugin.o
all: websocksy
-websocksy: websocksy.c websocksy.h $(OBJECTS)
+plugins:
+ $(MAKE) -C plugins
+
+websocksy: websocksy.c websocksy.h $(OBJECTS) plugins
$(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(OBJECTS)
clean: