summaryrefslogtreecommitdiff
path: root/Makefile.msvc
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-06-13 10:35:19 +0000
committerrubidium <rubidium@openttd.org>2011-06-13 10:35:19 +0000
commitb32a8d11c3d66730d7365c30b3643d1a77159665 (patch)
tree362a932c35aa6dec48a2f6400dc367392cf6c8d1 /Makefile.msvc
parent989bc411ef7a746e835a106632dbe5c53ea21076 (diff)
downloadopenttd-b32a8d11c3d66730d7365c30b3643d1a77159665.tar.xz
(svn r22581) -Add: 'make regression' support to Makefile.msvc
Diffstat (limited to 'Makefile.msvc')
-rw-r--r--Makefile.msvc7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.msvc b/Makefile.msvc
index 3d6a863c1..0a02c8cf9 100644
--- a/Makefile.msvc
+++ b/Makefile.msvc
@@ -28,10 +28,11 @@ BUNDLE_DIR = "$(ROOT_DIR)/bundle"
BUNDLES_DIR = "$(ROOT_DIR)/bundles"
TTD = openttd.exe
PDB = openttd.pdb
+MODE = Release
TARGET := $(shell echo $(PLATFORM) | sed "s@win64@x64@;s@win32@Win32@")
all:
- $(Q)cp objs/$(TARGET)/Release/$(TTD) $(BIN_DIR)/$(TTD)
+ $(Q)cp objs/$(TARGET)/$(MODE)/$(TTD) $(BIN_DIR)/$(TTD)
include Makefile.bundle.in
@@ -40,3 +41,7 @@ bundle_pdb:
$(Q)mkdir -p "$(BUNDLES_DIR)"
$(Q)cp objs/$(TARGET)/Release/$(PDB) $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb
$(Q)xz -9 $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb
+
+regression: all
+ $(Q)cp bin/$(TTD) bin/openttd
+ $(Q)cd bin && sh ai/regression/run.sh