From 9c9f97dc9ab10b644f59a9753c69b9691622025b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Mon, 22 Jun 2009 21:39:42 +0200 Subject: Include Swift/Controllers dependencies in Makefile. 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) -- cgit v0.10.2-6-g49f6