From f30eba63cb3f5e3aa5d81d6b31d1ba2fdee1e5c4 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 3 Jan 2023 14:31:49 +0100 Subject: Add test coverage info --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cc79b02..d9b55db 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ PLUGINS= \ webbox \ weblog -CXXFLAGS+=-fPIE -DVERSION=\"$(VERSION)\" +CXXFLAGS+=-fPIE LDLIBS+=\ -lreichwein \ @@ -58,8 +58,7 @@ all: build $(PROJECTNAME): $(SRC:.cpp=.o) $(CXX) $(LDFLAGS) $^ $(LDLIBS) $(LIBS) -o $@ -$(PLUGINS): - cd plugins/$@ && $(MAKE) +dep: $(SRC:.cpp=.d) %.d: %.cpp $(CXX) $(CXXFLAGS) -MM -MP -MF $@ -c $< @@ -67,6 +66,9 @@ $(PLUGINS): %.o: %.cpp %.d $(CXX) $(CXXFLAGS) -c $< -o $@ +$(PLUGINS): + cd plugins/$@ && $(MAKE) + # dependencies ADD_DEP=Makefile -- cgit v1.2.3