Permalink
Browse files

(svn r22581) -Add: 'make regression' support to Makefile.msvc

  • Loading branch information...
rubidium42 committed Jun 13, 2011
1 parent 989bc41 commit b32a8d11c3d66730d7365c30b3643d1a77159665
Showing with 6 additions and 1 deletion.
  1. +6 −1 Makefile.msvc
View
@@ -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

0 comments on commit b32a8d1

Please sign in to comment.