equal
deleted
inserted
replaced
282 endif |
282 endif |
283 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true) |
283 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true) |
284 CFLAGS += -Wdeclaration-after-statement -Wold-style-definition |
284 CFLAGS += -Wdeclaration-after-statement -Wold-style-definition |
285 endif |
285 endif |
286 |
286 |
|
287 ifdef DEBUG |
|
288 CFLAGS += -g -D_DEBUG |
|
289 endif |
|
290 |
|
291 ifdef PROFILE |
|
292 CFLAGS += -pg |
|
293 LDFLAGS += -pg |
|
294 endif |
|
295 |
287 CDEFS=-DWITH_REV |
296 CDEFS=-DWITH_REV |
288 LDFLAGS= |
297 LDFLAGS= |
289 LIBS= |
298 LIBS= |
290 |
299 |
291 ifdef DEBUG |
300 ifndef DEBUG |
292 # Debug mode |
301 ifndef PROFILE |
293 CDEFS += -D_DEBUG |
|
294 BASECFLAGS += -g |
|
295 else |
|
296 ifdef PROFILE |
|
297 BASECFLAGS += -pg |
|
298 LDFLAGS += -pg |
|
299 else |
|
300 # Release mode |
302 # Release mode |
301 ifndef MORPHOS |
303 ifndef MORPHOS |
302 # automatical strip breaks under morphos |
304 # automatical strip breaks under morphos |
303 BASECFLAGS += -s |
305 BASECFLAGS += -s |
304 LDFLAGS += -s |
306 LDFLAGS += -s |