trunk/makefile
| r242746 | r242747 | |
| 291 | 291 | SYMBOLS = 1 |
| 292 | 292 | endif |
| 293 | 293 | |
| 294 | | # specify a default optimization level if none explicitly stated |
| 295 | | ifndef OPTIMIZE |
| 296 | | ifndef SYMBOLS |
| 297 | | OPTIMIZE = 3 |
| 298 | | else |
| 299 | | OPTIMIZE = 0 |
| 300 | | endif |
| 301 | | endif |
| 302 | | |
| 303 | 294 | # profiler defaults to on for DEBUG builds |
| 304 | 295 | ifdef DEBUG |
| 305 | 296 | ifndef PROFILER |
| r242746 | r242747 | |
| 307 | 298 | endif |
| 308 | 299 | endif |
| 309 | 300 | |
| 310 | | # TODO: also move it up, so it isn't optimized by default? |
| 311 | 301 | # allow gprof profiling as well, which overrides the internal PROFILER |
| 312 | 302 | # also enable symbols as it is useless without them |
| 313 | 303 | ifdef PROFILE |
| r242746 | r242747 | |
| 318 | 308 | endif |
| 319 | 309 | endif |
| 320 | 310 | |
| 311 | # specify a default optimization level if none explicitly stated |
| 312 | ifndef OPTIMIZE |
| 313 | ifndef SYMBOLS |
| 314 | OPTIMIZE = 3 |
| 315 | else |
| 316 | OPTIMIZE = 0 |
| 317 | endif |
| 318 | endif |
| 319 | |
| 321 | 320 | # set the symbols level |
| 322 | 321 | ifdef SYMBOLS |
| 323 | 322 | ifndef SYMLEVEL |