From a0c93f5b84cc11b30bc6320ac26127832ef8bf7a Mon Sep 17 00:00:00 2001 From: ipknHama Date: Wed, 6 Aug 2014 03:54:38 +0900 Subject: long polling implementation complete change `res handle(req)' into `void handle(req, res)' connnection::handle is divide into two part: before and after user handler --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e71ff37..1927722 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,13 @@ FLAGS_DEBUG = -g FLAGS_GCOV = -r endif -binaries=covtest example +binaries=covtest example example_chat + +all: covtest example example_chat + +example_chat: example_chat.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 mustache.h + ${CXX} -Wall $(FLAGS_DEBUG) -std=c++1y -o example_chat example_chat.cpp http-parser/http_parser.c -pthread -lboost_system $(FLAGS_BOOST_THREAD) -I http-parser/ -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 mustache.h ${CXX} -Wall $(FLAGS_DEBUG) -O3 -std=c++1y -o example example.cpp http-parser/http_parser.c -pthread -lboost_system $(FLAGS_BOOST_THREAD) -ltcmalloc_minimal -I http-parser/ -- cgit v1.2.3-54-g00ecf