From 28db7d2674d76e85255ee0ffffaeaba9db4a8e32 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 11 Jan 2007 18:26:53 +0000 Subject: (svn r8067) -Fix (r7759): if bin/$(TTD) was removed, it did not get placed back on make unless $(TTD) got relinked. --- Makefile.src.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.src.in') diff --git a/Makefile.src.in b/Makefile.src.in index cc3b54888..00fe53cec 100644 --- a/Makefile.src.in +++ b/Makefile.src.in @@ -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 @@ $(OBJS_RC): %.o: $(SRC_DIR)/%.rc $(FILE_DEP) $(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 -- cgit v1.2.3-54-g00ecf