summaryrefslogtreecommitdiff
path: root/Makefile.src.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-09-09 09:13:18 +0000
committerrubidium <rubidium@openttd.org>2011-09-09 09:13:18 +0000
commitbffa93a4e9b760bae394d0f2b96e38909ea2cd76 (patch)
tree89e8843fa6a3880203890bd6fb9e33c0464e6d6a /Makefile.src.in
parentfb24ab71d02169b3b272663582788923c3dee670 (diff)
downloadopenttd-bffa93a4e9b760bae394d0f2b96e38909ea2cd76.tar.xz
(svn r22910) -Fix [FS#4617]: icon would (almost) never be shown for SDL builds
Diffstat (limited to 'Makefile.src.in')
-rw-r--r--Makefile.src.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index 0e42012bd..2b268731d 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -249,7 +249,10 @@ $(OBJS_RC): %.o: $(SRC_DIR)/%.rc $(FILE_DEP)
$(Q)$(WINDRES) -o $@ -I `basename $<` $<
$(BIN_DIR)/$(TTD): $(TTD)
- $(Q)cp $< $@
+ $(Q)cp $(TTD) $(BIN_DIR)/$(TTD)
+ifeq ($(OS), UNIX)
+ $(Q)cp $(MEDIA_DIR)/openttd.32.bmp $(BIN_DIR)/data/
+endif
$(TTD): $(OBJS) $(CONFIG_CACHE_LINKER)
$(E) '$(STAGE) Linking $@'