Makefile
changeset 1240 7d7f18e0b2c5
parent 1211 43ae74415fdd
child 1241 86b6a336a206
--- a/Makefile	Sun Jan 30 22:04:14 2005 +0000
+++ b/Makefile	Sun Jan 30 23:03:31 2005 +0000
@@ -284,19 +284,21 @@
   CFLAGS += -Wdeclaration-after-statement -Wold-style-definition
 endif
 
+ifdef DEBUG
+  CFLAGS += -g -D_DEBUG
+endif
+
+ifdef PROFILE
+  CFLAGS += -pg
+  LDFLAGS += -pg
+endif
+
 CDEFS=-DWITH_REV
 LDFLAGS=
 LIBS=
 
-ifdef DEBUG
-# Debug mode
-CDEFS += -D_DEBUG
-BASECFLAGS += -g
-else
-ifdef PROFILE
-BASECFLAGS += -pg
-LDFLAGS += -pg
-else
+ifndef DEBUG
+ifndef PROFILE
 # Release mode
 ifndef MORPHOS
 # automatical strip breaks under morphos