Makefile
changeset 3031 ea55e2750fff
parent 2997 a1917d0229ae
child 3042 227101cb98ca
equal deleted inserted replaced
3030:e405fe9c8623 3031:ea55e2750fff
   323 endif
   323 endif
   324 
   324 
   325 ifdef PROFILE
   325 ifdef PROFILE
   326   CFLAGS += -pg
   326   CFLAGS += -pg
   327   LDFLAGS += -pg
   327   LDFLAGS += -pg
       
   328   ifdef OSX
       
   329   # Shark (Xcode's profiling tool) needs -g to relate CPU usage to line numbers in the source code
       
   330     BASECFLAGS += -g
       
   331   endif
   328 endif
   332 endif
   329 
   333 
   330 CDEFS=-DWITH_REV
   334 CDEFS=-DWITH_REV
   331 
   335 
   332 ifndef DEBUG
   336 ifndef DEBUG