Skip to content

Commit

Permalink
(svn r22581) -Add: 'make regression' support to Makefile.msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
rubidium42 committed Jun 13, 2011
1 parent 989bc41 commit b32a8d1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile.msvc
Expand Up @@ -28,10 +28,11 @@ BUNDLE_DIR = "$(ROOT_DIR)/bundle"
BUNDLES_DIR = "$(ROOT_DIR)/bundles" BUNDLES_DIR = "$(ROOT_DIR)/bundles"
TTD = openttd.exe TTD = openttd.exe
PDB = openttd.pdb PDB = openttd.pdb
MODE = Release
TARGET := $(shell echo $(PLATFORM) | sed "s@win64@x64@;s@win32@Win32@") TARGET := $(shell echo $(PLATFORM) | sed "s@win64@x64@;s@win32@Win32@")


all: all:
$(Q)cp objs/$(TARGET)/Release/$(TTD) $(BIN_DIR)/$(TTD) $(Q)cp objs/$(TARGET)/$(MODE)/$(TTD) $(BIN_DIR)/$(TTD)


include Makefile.bundle.in include Makefile.bundle.in


Expand All @@ -40,3 +41,7 @@ bundle_pdb:
$(Q)mkdir -p "$(BUNDLES_DIR)" $(Q)mkdir -p "$(BUNDLES_DIR)"
$(Q)cp objs/$(TARGET)/Release/$(PDB) $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb $(Q)cp objs/$(TARGET)/Release/$(PDB) $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb
$(Q)xz -9 $(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.