diff options
Diffstat (limited to 'Makefile.msvc')
-rw-r--r-- | Makefile.msvc | 7 |
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 |