正在显示
3 个修改的文件
包含
12 行增加
和
0 行删除
trunk/research/gperftools/cpu-profiler/Makefile
100644 → 100755
| 1 | +.PHONY: default clean | ||
| 2 | + | ||
| 3 | +default: cpu_profiler | ||
| 4 | + | ||
| 1 | cpu_profiler: cpu_profiler.cc Makefile | 5 | cpu_profiler: cpu_profiler.cc Makefile |
| 2 | g++ -o cpu_profiler cpu_profiler.cc -g -O0 -ansi \ | 6 | g++ -o cpu_profiler cpu_profiler.cc -g -O0 -ansi \ |
| 3 | -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \ | 7 | -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \ |
| 1 | +.PHONY: default clean | ||
| 2 | + | ||
| 3 | +default: heap_checker | ||
| 4 | + | ||
| 1 | heap_checker: heap_checker.cc Makefile | 5 | heap_checker: heap_checker.cc Makefile |
| 2 | g++ -o heap_checker heap_checker.cc -g -O0 -ansi \ | 6 | g++ -o heap_checker heap_checker.cc -g -O0 -ansi \ |
| 3 | -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \ | 7 | -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \ |
| 1 | +.PHONY: default clean | ||
| 2 | + | ||
| 3 | +default: heap_checker | ||
| 4 | + | ||
| 1 | heap_profiler: heap_profiler.cc Makefile | 5 | heap_profiler: heap_profiler.cc Makefile |
| 2 | g++ -o heap_profiler heap_profiler.cc -g -O0 -ansi \ | 6 | g++ -o heap_profiler heap_profiler.cc -g -O0 -ansi \ |
| 3 | -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \ | 7 | -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \ |
-
请 注册 或 登录 后发表评论