diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |