diff options
author | ipkn <ipknhama@gmail.com> | 2014-05-02 01:17:49 -0400 |
---|---|---|
committer | ipkn <ipknhama@gmail.com> | 2014-05-02 01:17:49 -0400 |
commit | 81bd1e1fb6cb2a74c4e372410fb419cfc94991e0 (patch) | |
tree | fecebb2f7887cf73f6e6aa1d5ce9ee1d7d3cc57c /Makefile | |
parent | f8893eb138eae88f35ba752221a02b318d275364 (diff) | |
download | crow-81bd1e1fb6cb2a74c4e372410fb419cfc94991e0.tar.gz crow-81bd1e1fb6cb2a74c4e372410fb419cfc94991e0.zip |
caching datetime string for Date header
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |