1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
srs/trunk/research/gperftools/cpu-profiler/Makefile

11 lines
364 B
Makefile
Raw Normal View History

.PHONY: default clean
default: cpu_profiler
2014-03-06 08:46:59 +00:00
cpu_profiler: cpu_profiler.cc Makefile
g++ -o cpu_profiler cpu_profiler.cc -g -O0 -ansi \
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \
-I../../../objs/gperf/include ../../../objs/gperf/lib/libtcmalloc_and_profiler.a -lpthread
clean:
rm -f cpu_profiler ./srs.prof*