Changeset - r17781:b9c1cd1c78b4
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-06-13 07:34:55
rubidium@openttd.org
(svn r22576) -Add: bundle_pdb command to put the pdb into the bundles directory as well
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
Makefile.msvc
Show inline comments
 
@@ -27,9 +27,16 @@ SRC_DIR     = "$(ROOT_DIR)/src"
 
BUNDLE_DIR  = "$(ROOT_DIR)/bundle"
 
BUNDLES_DIR = "$(ROOT_DIR)/bundles"
 
TTD         = openttd.exe
 
PDB         = openttd.pdb
 
TARGET     := $(shell echo $(PLATFORM) | sed "s@win64@x64@;s@win32@Win32@")
 

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

	
 
include Makefile.bundle.in
 

	
 
bundle_pdb:
 
	@echo '[BUNDLE] Creating $(BUNDLE_NAME).pdb.xz'
 
	$(Q)mkdir -p "$(BUNDLES_DIR)"
 
	$(Q)cp objs/$(TARGET)/Release/$(PDB) $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb
 
	$(Q)cd xz -9 $(BUNDLES_DIR)/$(BUNDLE_NAME).pdb
0 comments (0 inline, 0 general)