Changeset 178:f8816d1fe31c
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r176
|
r178
|
|
| 179 | 179 | |
| 180 | 180 | BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \ |
| 181 | | -pipe -DUSE_ICON $(shell sdl-config --cflags) |
| | 181 | -DUSE_ICON $(shell sdl-config --cflags) |
| 182 | 182 | |
| 183 | 183 | ifeq ($(USE_OPENAL),1) |
| … |
… |
|
| 230 | 230 | |
| 231 | 231 | THREAD_LDFLAGS=-lpthread |
| 232 | | LDFLAGS=-ldl -lm |
| | 232 | LDFLAGS=-ldl -lm -pg |
| 233 | 233 | |
| 234 | 234 | CLIENT_LDFLAGS=$(shell sdl-config --libs) -lGL |
| … |
… |
|
| 256 | 256 | endif |
| 257 | 257 | |
| 258 | | DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0 |
| | 258 | DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0 -pg |
| 259 | 259 | RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE) |
| 260 | 260 | |