Changeset - r13887:657b67d5b221
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-12-07 20:22:33
rubidium@openttd.org
(svn r18427) -Fix (r18423): ofcourse that broke the GCC build... not determining 'inclusion' using the relative path from the .rc that has the 'include' but from the include directories... how useful/sensible is that?
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
Makefile.src.in
Show inline comments
 
@@ -149,7 +149,7 @@ endif
 
	$(Q)$(CC_HOST) $(CFLAGS) -MM $< | sed 's@^$(@F:%.d=%.o):@$@ $(@:%.d=%.o):@' > $@
 

	
 
$(OBJS_RC:%.o=%.d): %.d: $(SRC_DIR)/%.rc $(FILE_DEP)
 
	$(E) '$(STAGE) DEP $(<:$(SRC_DIR)/%.mm=%.mm)'
 
	$(E) '$(STAGE) DEP $(<:$(SRC_DIR)/%.rc=%.rc)'
 
	$(Q)touch $@
 

	
 
else
 
@@ -242,7 +242,7 @@ endif
 

	
 
$(OBJS_RC): %.o: $(SRC_DIR)/%.rc $(FILE_DEP)
 
	$(E) '$(STAGE) Compiling resource $(<:$(SRC_DIR)/%.rc=%.rc)'
 
	$(Q)$(WINDRES) -o $@ -I $(MEDIA_DIR) $<
 
	$(Q)$(WINDRES) -o $@ -I `basename $<` $<
 

	
 
$(BIN_DIR)/$(TTD): $(TTD)
 
	$(Q)cp $< $@
0 comments (0 inline, 0 general)