summaryrefslogtreecommitdiff
path: root/Makefile.src.in
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-01-02 23:19:52 +0000
committertruelight <truelight@openttd.org>2007-01-02 23:19:52 +0000
commitb559f1a3765a46b4e0f78ae3a2dcd58f5a1e87d8 (patch)
tree67cadad567b2de9d3375cfa8e225da663ae9e35b /Makefile.src.in
parentfcf444555f69e0e982f35fa1b0ba57ccfc7b1957 (diff)
downloadopenttd-b559f1a3765a46b4e0f78ae3a2dcd58f5a1e87d8.tar.xz
(svn r7780) [Configure] -Fix: strip before copy, not copy before strip
Diffstat (limited to 'Makefile.src.in')
-rw-r--r--Makefile.src.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index 752b7eef3..1529149b8 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -219,10 +219,11 @@ $(OBJS_RC): %.o: $(SRC_DIR)/%.rc $(FILE_DEP)
$(TTD): rev.o $(OBJS) $(CONFIG_CACHE_LINKER)
$(E) '$(STAGE) Linking $@'
- $(Q)$(CXX_HOST) $(LDFLAGS) rev.o $(OBJS) $(LIBS) -o $@ && cp $@ $(BIN_DIR)/
+ $(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