mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
364 B
Makefile
11 lines
364 B
Makefile
.PHONY: default clean
|
|
|
|
default: cpu_profiler
|
|
|
|
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*
|