(svn r8067) -Fix (r7759): if bin/$(TTD) was removed, it did not get placed back on make unless $(TTD) got relinked.
--- a/Makefile.src.in Thu Jan 11 17:29:39 2007 +0000
+++ b/Makefile.src.in Thu Jan 11 18:26:53 2007 +0000
@@ -60,7 +60,7 @@
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 @@
$(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