From b21994a2254f94cda59502653ecaa210d046f4ff Mon Sep 17 00:00:00 2001 From: tmaul <50554883+tmaul@users.noreply.github.com> Date: Thu, 25 Jul 2019 11:14:40 +0100 Subject: [PATCH] Add -DXPBUILD and -DRELEASEBUILD Doesn't affect any defaults so shouldn't cause anyone any problems. Just means you can do make xxxx -DRELEASEBUILD and/or make xxxx -DRELEASEBUILD -DXPBUILD --- makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index d95f7c7c6..89e74ecf1 100644 --- a/makefile +++ b/makefile @@ -18,8 +18,10 @@ export # Include Unicode support UNICODE = 1 -# Use Segoe Fonts (installed by default on Windows Vista and newer) +# Use Segoe Fonts (installed by default on Windows Vista and newer), unless we are doing a winxp build +ifndef XPBUILD USE_SEGOE = 1 +endif # Build A68K ASM 68000 core #BUILD_A68K = 1 @@ -42,8 +44,10 @@ INCLUDE_AVI_RECORDING = 1 # Include symbols and other debug information in the executable #SYMBOL = 1 -# Include features for debugging drivers +# Include features for debugging drivers unless we are doing a release build +ifndef RELEASEBUILD DEBUG = 1 +endif # Include rom set verifying features (comment this for release builds) #ROM_VERIFY = 1 @@ -92,4 +96,4 @@ sdl: FORCE vc: FORCE @$(MAKE) -s -f makefile.vc -FORCE: \ No newline at end of file +FORCE: