From f27702d3cf183f7fbaf88e584bae63a6514d9e65 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 2 Apr 2020 19:28:10 +0200 Subject: Added Debian package --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 13d78c8..736387a 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,10 @@ PROJECTNAME=webserver CXX=clang++-10 #CXX=g++-9 +ifeq ($(CXXFLAGS),) #CXXFLAGS=-O2 -DNDEBUG CXXFLAGS=-O0 -g -D_DEBUG +endif # -fprofile-instr-generate -fcoverage-mapping # gcc:--coverage @@ -80,6 +82,10 @@ googletest/src/%.o: googletest/src/%.cc ADD_DEP=Makefile +install: + mkdir -p $(DESTDIR)/usr/bin + cp webserver $(DESTDIR)/usr/bin + # misc --------------------------------------------------- clean: -rm -f test-$(PROJECTNAME) $(PROJECTNAME) -- cgit v1.2.3