mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
10 lines
368 B
Makefile
10 lines
368 B
Makefile
.PHONY: default clean
|
|
|
|
default: heap_checker
|
|
|
|
heap_profiler: heap_profiler.cc Makefile
|
|
g++ -o heap_profiler heap_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 heap_profiler srs.*.heap
|