diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-02 19:28:10 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-02 19:28:10 +0200 |
commit | f27702d3cf183f7fbaf88e584bae63a6514d9e65 (patch) | |
tree | a94ef7bbdddab36f5364eb32fe1df2f36206e4be /Makefile | |
parent | 99d31b767bd2b9d7c7ce7b2a2fb8cb6797252548 (diff) |
Added Debian package
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) |