Mercurial > hg > openttd
changeset 17796:a5a8fa479f8c draft
(svn r22581) -Add: 'make regression' support to Makefile.msvc
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 13 Jun 2011 10:35:19 +0000 |
parents | d3f875d362e4 |
children | e62973043805 |
files | Makefile.msvc |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.msvc +++ b/Makefile.msvc @@ -28,10 +28,11 @@ 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 @@ $(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