summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rules.mk3
1 files changed, 1 insertions, 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)