Changeset 178:f8816d1fe31c

Show
Ignore:
Timestamp:
05/14/08 21:21:30 (2 years ago)
Author:
Madtree <madtree@…>
Branch:
renderer
Message:

Add -pg flag to the Makefile (enable gprof stuff).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Makefile

    r176 r178  
    179179 
    180180  BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \ 
    181     -pipe -DUSE_ICON $(shell sdl-config --cflags) 
     181    -DUSE_ICON $(shell sdl-config --cflags) 
    182182 
    183183  ifeq ($(USE_OPENAL),1) 
     
    230230 
    231231  THREAD_LDFLAGS=-lpthread 
    232   LDFLAGS=-ldl -lm 
     232  LDFLAGS=-ldl -lm -pg 
    233233 
    234234  CLIENT_LDFLAGS=$(shell sdl-config --libs) -lGL 
     
    256256  endif 
    257257 
    258   DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0 
     258  DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0 -pg 
    259259  RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE) 
    260260