Changeset - r5610:703a9e6a9c45
[Not reviewed]
master
0 1 0
rubidium - 18 years ago 2007-01-11 18:26:53
rubidium@openttd.org
(svn r8067) -Fix (r7759): if bin/$(TTD) was removed, it did not get placed back on make unless $(TTD) got relinked.
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
Makefile.src.in
Show inline comments
 
@@ -60,7 +60,7 @@ else
 
endif
 

	
 
# Our default target
 
all: $(TTD)
 
all: $(BIN_DIR)/$(TTD)
 

	
 
# This are 2 rules that are pointing back to STRGEN stuff.
 
#  There is not really a need to have them here, but in case
 
@@ -219,13 +219,15 @@ endif
 
	$(E) '$(STAGE) Compiling resource $(<:$(SRC_DIR)/%.rc=%.rc)'
 
	$(Q)$(WINDRES) -o $@ -I $(MEDIA_DIR) $<
 

	
 
$(BIN_DIR)/$(TTD): $(TTD)
 
	$(Q)cp $< $@
 

	
 
$(TTD): rev.o $(OBJS) $(CONFIG_CACHE_LINKER)
 
	$(E) '$(STAGE) Linking $@'
 
	$(Q)$(CXX_HOST) $(LDFLAGS) rev.o $(OBJS) $(LIBS) -o $@
 
ifdef STRIP
 
	$(Q)$(STRIP) $@
 
endif
 
	$(Q)cp $@ $(BIN_DIR)/
 

	
 
# The targets to compile the endian-code
 

	
0 comments (0 inline, 0 general)