From a0b523a5afc91c3816f6c44e61f8a05d5fe5e80a Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 13 Apr 2013 09:49:48 -0700 Subject: Get the list of dependency includes from the SOURCES list Signed-off-by: Thiago Macieira --- Rules.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Rules.mk b/Rules.mk index e7108fd4b..bc135aab7 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) -- cgit v1.2.3-70-g09d2