diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | Swift/Controllers/Makefile.inc | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -81,6 +81,7 @@ ifeq (,$(findstring clean-deps, $(MAKECMDGOALS))) -include $(SWIFTEN_SOURCES:.cpp=.dep) -include $(SWIFTEN_OBJECTIVE_SOURCES:.mm=.dep) -include $(UNITTEST_SOURCES:.cpp=.dep) +-include $(DEPS) endif endif diff --git a/Swift/Controllers/Makefile.inc b/Swift/Controllers/Makefile.inc index 1a6ab4e..5e30a63 100644 --- a/Swift/Controllers/Makefile.inc +++ b/Swift/Controllers/Makefile.inc @@ -18,6 +18,7 @@ SWIFT_CONTROLLERS_OBJECTS = \ TARGETS += $(SWIFT_CONTROLLERS_TARGET) UNITTEST_LIBS += $(SWIFT_CONTROLLERS_TARGET) CLEANFILES += $(SWIFT_CONTROLLERS_TARGET) $(SWIFT_CONTROLLERS_OBJECTS) +DEPS += $(SWIFT_CONTROLLERS_SOURCES:.cpp=.dep) $(SWIFT_CONTROLLERS_TARGET): $(SWIFT_CONTROLLERS_OBJECTS) $(QUIET_AR)$(AR) $(ARFLAGS) $@ $(SWIFT_CONTROLLERS_OBJECTS) |