[PATCH 13/19] Get the list of dependency includes from the SOURCES list
Thiago Macieira
thiago at macieira.org
Mon Apr 22 23:48:19 PDT 2013
Signed-off-by: Thiago Macieira <thiago at macieira.org>
---
Rules.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Rules.mk b/Rules.mk
index e7108fd..bc135aa 100644
--- a/Rules.mk
+++ b/Rules.mk
@@ -30,8 +30,6 @@ MOC_OBJS = $(HEADERS_NEEDING_MOC:.h=.moc.o)
ALL_OBJS = $(OBJS) $(MOC_OBJS)
-DEPS = $(wildcard .dep/*.dep)
-
all: $(NAME)
$(NAME): gen_version_file $(ALL_OBJS) $(MSGOBJS) $(INFOPLIST)
@@ -205,4 +203,5 @@ clean:
confclean: clean
rm -f $(CONFIGFILE)
+DEPS = $(addprefix .dep/,$(C_SOURCES:.c=.o.dep) $(CXX_SOURCES:.cpp=.o.dep))
-include $(DEPS)
--
1.7.11.7
More information about the subsurface
mailing list