mirror of https://github.com/OpenTTD/OpenTTD
(svn r7762) [Configure] -Fix: .rc files were not ignored in old DEP system
parent
ad53fe0d75
commit
7437ae1a08
|
@ -128,6 +128,10 @@ $(OBJS_M:%.o=%.d): %.d: $(SRC_DIR)/%.m $(FILE_DEP)
|
||||||
$(E) '$(STAGE) DEP $(<:$(SRC_DIR)/%.m=%.m)'
|
$(E) '$(STAGE) DEP $(<:$(SRC_DIR)/%.m=%.m)'
|
||||||
$(Q)$(CC_HOST) $(CC_CFLAGS) $(CFLAGS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:%.d=%.o):#' > $@
|
$(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
|
else
|
||||||
# The much faster, but can be wrong, dep-check
|
# The much faster, but can be wrong, dep-check
|
||||||
DEP_MASK :=
|
DEP_MASK :=
|
||||||
|
|
Loading…
Reference in New Issue