aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-08-06 03:54:38 +0900
committeripknHama <ipknhama@gmail.com>2014-08-06 04:07:46 +0900
commita0c93f5b84cc11b30bc6320ac26127832ef8bf7a (patch)
treedc3a51f019b99bf4b4c62201bf6c183a9fb9fa38 /Makefile
parent88cc6079cb2ba9790a2d8bb9a5955006bfcc7a16 (diff)
downloadcrow-a0c93f5b84cc11b30bc6320ac26127832ef8bf7a.tar.gz
crow-a0c93f5b84cc11b30bc6320ac26127832ef8bf7a.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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/