diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-03 14:31:49 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-03 14:31:49 +0100 |
commit | f30eba63cb3f5e3aa5d81d6b31d1ba2fdee1e5c4 (patch) | |
tree | eed743b51b4875310918c708b8e24b1ecdef8c1b /Makefile | |
parent | a93412feba23335174a9a55b320e74c769462072 (diff) |
Add test coverage info
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |