summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-26 15:35:31 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-26 15:35:31 +0200
commitc73f913844f6aed9e740780f8a6732477fa3d680 (patch)
tree06b52646c6100983bf5783862281560833d2959a /Makefile
parent856c181b7fd9451ce9a6d8181e1cbd0410e4bad4 (diff)
Support current Debian 10 and Ubuntu 1910
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 41c83c4..c692bf0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-DISTROS=debian10
+DISTROS=debian10 ubuntu1910
VERSION=$(shell dpkg-parsechangelog --show-field Version)
PROJECTNAME=webserver
PLUGINS=static-files webbox cgi weblog statistics # fcgi
@@ -13,6 +13,10 @@ ifeq ($(shell which $(CXX)),)
CXX=g++-9
endif
+ifeq ($(shell which $(CXX)),)
+CXX=g++
+endif
+
ifeq ($(CXXFLAGS),)
#CXXFLAGS=-O2 -DNDEBUG
CXXFLAGS=-O0 -g -D_DEBUG