diff options
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 |