summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-01-02 20:19:25 +0000
committertruelight <truelight@openttd.org>2007-01-02 20:19:25 +0000
commit7437ae1a08f86cf94a49ebb28e91031eadd318a5 (patch)
treee5126807534d4a2837d770b478568bc0c1feed88
parentad53fe0d75fb043bf5dfa594d54c4914e0a0717d (diff)
downloadopenttd-7437ae1a08f86cf94a49ebb28e91031eadd318a5.tar.xz
(svn r7762) [Configure] -Fix: .rc files were not ignored in old DEP system
-rw-r--r--Makefile.src.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index 1170e6352..752b7eef3 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -128,6 +128,10 @@ $(OBJS_M:%.o=%.d): %.d: $(SRC_DIR)/%.m $(FILE_DEP)
$(E) '$(STAGE) DEP $(<:$(SRC_DIR)/%.m=%.m)'
$(Q)$(CC_HOST) $(CC_CFLAGS) $(CFLAGS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:%.d=%.o):#' > $@
+$(OBJS_RC:%.o=%.d): %.d: $(SRC_DIR)/%.rc $(FILE_DEP)
+ $(E) '$(STAGE) DEP $(<:$(SRC_DIR)/%.m=%.m)'
+ $(Q)touch $@
+
else
# The much faster, but can be wrong, dep-check
DEP_MASK :=