Makefile
changeset 1479 3bb687fbe344
parent 1476 abbcea18a01c
child 1491 d010857e470a
equal deleted inserted replaced
1478:00b0798b34d5 1479:3bb687fbe344
   284 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true)
   284 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true)
   285   CFLAGS += -Wdeclaration-after-statement -Wold-style-definition
   285   CFLAGS += -Wdeclaration-after-statement -Wold-style-definition
   286 endif
   286 endif
   287 
   287 
   288 ifdef DEBUG
   288 ifdef DEBUG
   289   CFLAGS += -g -fno-inline -D_DEBUG
   289   ifeq ($(shell expr $(DEBUG) \>= 1), 1)
       
   290     CFLAGS += -g -D_DEBUG
       
   291   endif
       
   292   ifeq ($(shell expr $(DEBUG) \>= 2), 1)
       
   293     CFLAGS += -fno-inline
       
   294   endif
       
   295   ifeq ($(shell expr $(DEBUG) \>= 3), 1)
       
   296     CFLAGS += -O0
       
   297   endif
   290 endif
   298 endif
   291 
   299 
   292 ifdef PROFILE
   300 ifdef PROFILE
   293   CFLAGS += -pg
   301   CFLAGS += -pg
   294   LDFLAGS += -pg
   302   LDFLAGS += -pg