From cd7937b920bc6e20569033d663bd5c8f913ea9ce Mon Sep 17 00:00:00 2001 From: Alex Butum Date: Tue, 8 Jul 2014 13:00:50 +0300 Subject: Added clean pseudo target to Makefile --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf