diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-02-02 08:57:39 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-02-02 08:57:39 +0000 |
commit | aa16ee779d83c827b3c0b2c848b42321266fdffc (patch) | |
tree | f70c01e60e1b0ca9eb78d733f528568556448144 /makefile | |
parent | 2df389a77d21a027c3c3cbddceb4a225003fdf04 (diff) |
Changed debugger-related code to be based off a new makefile define (DEBUGGER) which sets
a new compile-time define (ENABLE_DEBUGGER). This means that MAME_DEBUG no longer means
"enable debugger", it simply enables debugging features such as assertions and debug code
in drivers.
Also removed the various levels of opbase protection in memory.h and always just turned
on full bounds checking.
Fixed build break due to missing ampoker.lay -> ampoker2.lay renaming.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -93,7 +93,10 @@ endif # for details #------------------------------------------------- -# uncomment next line to include the debugger +# uncomment next line to enable the debugger +# DEBUGGER = 1 + +# uncomment next line to build a debug version # DEBUG = 1 # uncomment next line to include the internal profiler @@ -197,8 +200,8 @@ RM = @rm -f # form the name of the executable #------------------------------------------------- -# debug builds just get the 'd' suffix and nothing more -ifdef DEBUG +# debugger builds just get the 'd' suffix and nothing more +ifdef DEBUGGER DEBUGSUFFIX = d endif @@ -257,6 +260,11 @@ ifdef PTR64 DEFS += -DPTR64 endif +# define ENABLE_DEBUGGER if we are a debugger-enabled build +ifdef DEBUGGER +DEFS += -DENABLE_DEBUGGER +endif + # define MAME_DEBUG if we are a debugging build ifdef DEBUG DEFS += -DMAME_DEBUG |