summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-04 16:32:10 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-04 16:32:10 +0200
commit938fbe7a2f2f10a3abb530a9463e57fc20f40038 (patch)
tree62ee0c285c672b10a42b0690a011ede7a0bf00b6 /Makefile
parent95d5acc8c7e60255b19e7084e374eb26cc5d0ba3 (diff)
HTTP and HTTPs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 65c3ada..ed35360 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ CXX=clang++
endif
ifeq ($(shell which $(CXX)),)
-#CXX=g++-9
+CXX=g++-9
endif
ifeq ($(CXXFLAGS),)
@@ -19,7 +19,7 @@ endif
# -fprofile-instr-generate -fcoverage-mapping
# gcc:--coverage
-CXXFLAGS+= -Wall -I.
+CXXFLAGS+= -Wall -I. -DVERSION=\"$(VERSION)\"
CXXFLAGS+= -pthread
ifeq ($(CXX),clang++-10)
@@ -58,9 +58,12 @@ endif
PROGSRC=\
config.cpp \
+ file.cpp \
http.cpp \
+ https.cpp \
http_debian10.cpp \
- plugin.cpp
+ plugin.cpp \
+ server.cpp
TESTSRC=\
test-webserver.cpp \