Previous 15994 Revisions Next

r1159 Sunday 21st October, 2007 at 04:56:13 UTC by R. Belmont
[SDLMESS] Fix DEBUG and PROFILE builds.
[ROOT]makefile.sdl

makefile.sdl
r1158r1159
6666# uncomment next line to include the debugger
6767# DEBUG = 1
6868
69# uncomment next line to include the internal profiler
70# PROFILER = 1
71
6972# uncomment next line to use DRC MIPS3 engine
7073X86_MIPS3_DRC = 1
7174
r1158r1159
108111# uncomment next line to include the symbols
109112# SYMBOLS = 1
110113
114# uncomment next line to include profiling information from the compiler
115# PROFILE = 1
116
111117# uncomment next line to generate a link map for exception handling in windows
112118# MAP = 1
113119
r1158r1159
142148endif
143149endif
144150
151# profiler defaults to on for DEBUG builds
152ifdef DEBUG
153ifndef PROFILER
154PROFILER = 1
155endif
156endif
145157
146158
159
147160#-------------------------------------------------
148161# platform-specific definitions
149162#-------------------------------------------------
r1158r1159
169182
170183
171184#-------------------------------------------------
172# form the name of the executable
173#-------------------------------------------------
174
175ifeq ($(OSD),msdos)
176PREFIX = d
177endif
178
179#-------------------------------------------------
180185# based on the architecture, determine suffixes
181186# and endianness
182187#-------------------------------------------------
r1158r1159
319324DEFS += -DNDEBUG
320325endif
321326
327# define MAME_PROFILER if we are a profiling build
328ifdef PROFILER
329DEFS += -DMAME_PROFILER
330endif
331
322332# define VOODOO_DRC if we are building the DRC Voodoo engine
323333ifdef X86_VOODOO_DRC
324334DEFS += -DVOODOO_DRC

Previous 15994 Revisions Next


© 1998-2018 The MESS Team