Added 'DEVELOPER_SUPPORT' #define to the (de)activate the latest options

for developers (added to the Console class).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@122 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2002-11-09 23:34:35 +00:00
parent c3f834561a
commit 4bf5ac3615
1 changed files with 13 additions and 1 deletions

View File

@ -13,7 +13,7 @@
## See the file "license" for information on usage and redistribution of
## this file, and for a DISCLAIMER OF ALL WARRANTIES.
##
## $Id: makefile,v 1.24 2002-10-31 20:44:26 stephena Exp $
## $Id: makefile,v 1.25 2002-11-09 23:34:35 stephena Exp $
##============================================================================
##============================================================================
@ -59,6 +59,12 @@ OPTIMIZATIONS = -O2 -Wall -Wno-unused
### Currently, the X11 version won't compile without it
HAVE_GETTIMEOFDAY = 1
### to include support for game developers
### enables some extra commandline options that allow the user
### to override some emulation defaults
### Only X11 and SDL ports supported for now
# DEVELOPER_SUPPORT = 1
##============================================================================
## All done, type make to get a list of frontends
## No configurable options below this line ...
@ -128,6 +134,12 @@ OPTS.X11 += -DHAVE_GETTIMEOFDAY=1
OPTS.SDL += -DHAVE_GETTIMEOFDAY=1
endif
ifdef DEVELOPER_SUPPORT
OPTS.X11 += -DDEVELOPER_SUPPORT=1
OPTS.SDL += -DDEVELOPER_SUPPORT=1
OPTS.DOS += -DDEVELOPER_SUPPORT=1
endif
default:
@echo ""
@echo "To build Stella type: 'make <version>'"