Changeset - r1479:dd86e6e397f9
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-03-10 15:23:13
tron@openttd.org
(svn r1983) Introduce multiple compile time debug levels
1 file changed with 9 insertions and 1 deletions:
0 comments (0 inline, 0 general)
Makefile
Show inline comments
 
@@ -286,7 +286,15 @@ ifeq ($(shell if test $(CC_VERSION) -ge 
 
endif
 

	
 
ifdef DEBUG
 
  CFLAGS += -g -fno-inline -D_DEBUG
 
  ifeq ($(shell expr $(DEBUG) \>= 1), 1)
 
    CFLAGS += -g -D_DEBUG
 
  endif
 
  ifeq ($(shell expr $(DEBUG) \>= 2), 1)
 
    CFLAGS += -fno-inline
 
  endif
 
  ifeq ($(shell expr $(DEBUG) \>= 3), 1)
 
    CFLAGS += -O0
 
  endif
 
endif
 

	
 
ifdef PROFILE
0 comments (0 inline, 0 general)