diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ DISTROS=debian10 VERSION=$(shell dpkg-parsechangelog --show-field Version) PROJECTNAME=webserver +PLUGINS=static-files webbox # weblog cgi fcgi CXX=clang++-10 @@ -77,6 +78,7 @@ TESTSRC=\ SRC=$(PROGSRC) webserver.cpp all: $(PROJECTNAME) test-$(PROJECTNAME) + for i in $(PLUGINS) ; do make -C plugins/$$i ; done ./test-$(PROJECTNAME) ./webserver -c webserver.conf @@ -127,7 +129,9 @@ debs: $(DISTROS) clean: -rm -f test-$(PROJECTNAME) $(PROJECTNAME) + -rm -f plugins/*.so -find . -name '*.o' -o -name '*.d' -o -name '*.gcno' -o -name '*.gcda' | xargs rm -f + for i in $(PLUGINS) ; do make -C plugins/$$i clean ; done zip: clean -rm -f ../$(PROJECTNAME).zip |