aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoripkn <ipknhama@gmail.com>2014-05-02 01:17:49 -0400
committeripkn <ipknhama@gmail.com>2014-05-02 01:17:49 -0400
commit81bd1e1fb6cb2a74c4e372410fb419cfc94991e0 (patch)
treefecebb2f7887cf73f6e6aa1d5ce9ee1d7d3cc57c /Makefile
parentf8893eb138eae88f35ba752221a02b318d275364 (diff)
downloadcrow-81bd1e1fb6cb2a74c4e372410fb419cfc94991e0.tar.gz
crow-81bd1e1fb6cb2a74c4e372410fb419cfc94991e0.zip
caching datetime string for Date header
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index bd50a3a..508316d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
all: covtest example
-example: example.cpp crow.h http_server.h http_connection.h parser.h http_response.h routing.h common.h utility.h json.h
- g++ -Wall -g -O3 -std=c++11 -o example example.cpp http-parser/http_parser.c -pthread -lboost_system -lboost_thread -I http-parser/
+example: example.cpp crow.h http_server.h http_connection.h parser.h http_response.h routing.h common.h utility.h json.h datetime.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/
test: covtest
@@ -10,11 +10,11 @@ runtest: example
python test.py || exit 0
pkill example
-unittest: unittest.cpp routing.h
+unittest: unittest.cpp routing.h utility.h crow.h http_server.h http_connection.h parser.h http_response.h common.h json.h datetime.h
g++ -Wall -g -std=c++11 -o unittest unittest.cpp http-parser/http_parser.c -pthread -lboost_system -lboost_thread -I http-parser/
./unittest
-covtest: unittest.cpp routing.h utility.h crow.h http_server.h http_connection.h parser.h http_response.h common.h json.h
+covtest: unittest.cpp routing.h utility.h crow.h http_server.h http_connection.h parser.h http_response.h common.h json.h datetime.h
g++ -Wall -g -std=c++11 -o covtest --coverage unittest.cpp http-parser/http_parser.c -pthread -lboost_system -lboost_thread -I http-parser/
./covtest
gcov -r unittest.cpp