kunlang_video/external/srs-server-5.0-r3/trunk/research/gperftools/heap-defense/Makefile
2026-05-09 10:51:10 +08:00

11 lines
355 B
Makefile

.PHONY: default clean
default: heap_defense
heap_defense: heap_defense.cc Makefile
g++ -o heap_defense heap_defense.cc -g -O0 -ansi \
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \
-I../../../objs/gperf/include ../../../objs/gperf/lib/libtcmalloc_debug.a -lpthread
clean:
rm -rf heap_defense ./*.dSYM