summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-02 18:58:28 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-02 18:58:28 +0200
commit99d31b767bd2b9d7c7ce7b2a2fb8cb6797252548 (patch)
tree8842d6dad976066293229fd3370c58a8d91e51e3 /Makefile
parent709ba7ae8df8ce358e56b77c732f00e95a428259 (diff)
First HTTPS response
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e69649..13d78c8 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ CXXFLAGS=-O0 -g -D_DEBUG
CXXFLAGS+= -Wall -I.
+CXXFLAGS+= -pthread
ifeq ($(CXX),clang++-10)
CXXFLAGS+=-std=c++20 -stdlib=libc++
else
@@ -26,7 +27,8 @@ LIBS=\
-lboost_thread \
-lboost_filesystem \
-lboost_regex \
--lpthread
+-lpthread \
+-lssl -lcrypto
ifeq ($(CXX),clang++-10)
LIBS+= \
@@ -60,6 +62,9 @@ all: test-$(PROJECTNAME) $(PROJECTNAME)
test-$(PROJECTNAME): $(TESTSRC:.cpp=.o)
$(CXX) $(CXXFLAGS) $^ $(LIBS) -o $@
+$(PROJECTNAME): $(SRC:.cpp=.o)
+ $(CXX) $(CXXFLAGS) $^ $(LIBS) -o $@
+
dep: $(TESTSRC:.cpp=.d)
%.d: %.cpp