summaryrefslogtreecommitdiff
path: root/Makefile.msvc
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-20 21:36:46 +0000
committerrubidium <rubidium@openttd.org>2008-08-20 21:36:46 +0000
commit2c0976037878154494841b95093815a36f3d5d73 (patch)
treede6fdc5ff6178bfa51d6531cd3337a72570fefac /Makefile.msvc
parentff749ab09dec34ba928338a08c16dc0d04f00e11 (diff)
downloadopenttd-2c0976037878154494841b95093815a36f3d5d73.tar.xz
(svn r14115) -Codechange: add make bundle_exe which makes a windows installer and unify the files that go into the bundles (zip/gz/bz2 etc) and installer.
Diffstat (limited to 'Makefile.msvc')
-rw-r--r--Makefile.msvc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.msvc b/Makefile.msvc
index 61e2d4702..d6821a905 100644
--- a/Makefile.msvc
+++ b/Makefile.msvc
@@ -20,8 +20,9 @@ SRC_DIR = "$(ROOT_DIR)/src"
BUNDLE_DIR = "$(ROOT_DIR)/bundle"
BUNDLES_DIR = "$(ROOT_DIR)/bundles"
TTD = "openttd.exe"
+TARGET := $(shell echo $(PLATFORM) | sed "s/win64/x64/;s/win32/Win32/")
all:
- cp objs/$(PLATFORM)/Release/$(TTD) $(BIN_DIR)/$(TTD)
+ $(Q)cp objs/$(TARGET)/Release/$(TTD) $(BIN_DIR)/$(TTD)
include Makefile.bundle