1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/research/gperftools/heap-defense/Makefile
2021-12-26 17:30:51 +08:00

10 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