summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--Swift/Controllers/Makefile.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dc9b8c2..f0eaad0 100644
--- a/Makefile
+++ b/Makefile
@@ -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)