aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Butum <alexbutum@linux.com>2014-07-08 13:00:50 +0300
committerAlex Butum <alexbutum@linux.com>2014-07-08 13:00:50 +0300
commitcd7937b920bc6e20569033d663bd5c8f913ea9ce (patch)
treeccadd9885cb61f8b26a2b3b3103e2cde54d34f29 /Makefile
parenta7650dc71342f65f4e09cbc6f37515fd31b05c95 (diff)
downloadcrow-cd7937b920bc6e20569033d663bd5c8f913ea9ce.tar.gz
crow-cd7937b920bc6e20569033d663bd5c8f913ea9ce.zip
Added clean pseudo target to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 74f9f89..40a7606 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
+binaries=covtest example
+
all: covtest example
+
example: example.cpp settings.h crow.h http_server.h http_connection.h parser.h http_response.h routing.h common.h utility.h json.h datetime.h logging.h
g++ -Wall -g -O3 -std=c++11 -o example example.cpp http-parser/http_parser.c -pthread -lboost_system -lboost_thread -ltcmalloc_minimal -I http-parser/
@@ -19,4 +22,7 @@ covtest: unittest.cpp routing.h utility.h crow.h http_server.h http_connection.h
./covtest
gcov -r unittest.cpp
+.PHONY: clean
+clean:
+ rm -f $(binaries) *.o