Makefile
changeset 3031 ea55e2750fff
parent 2997 a1917d0229ae
child 3042 227101cb98ca
--- a/Makefile	Fri Feb 17 16:42:08 2006 +0000
+++ b/Makefile	Fri Feb 17 20:24:17 2006 +0000
@@ -325,6 +325,10 @@
 ifdef PROFILE
   CFLAGS += -pg
   LDFLAGS += -pg
+  ifdef OSX
+  # Shark (Xcode's profiling tool) needs -g to relate CPU usage to line numbers in the source code
+    BASECFLAGS += -g
+  endif
 endif
 
 CDEFS=-DWITH_REV