equal
deleted
inserted
replaced
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 |