diff options
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 |