Makefile.msvc
changeset 9960 10d375f1cdd7
parent 9919 5122deb390ae
child 10057 a6dea11e197d
--- a/Makefile.msvc	Wed Aug 20 19:53:42 2008 +0000
+++ b/Makefile.msvc	Wed Aug 20 21:36:46 2008 +0000
@@ -20,8 +20,9 @@
 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