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