Makefile 378 B

12345678910
  1. .PHONY: default clean
  2. default: heap_profiler
  3. heap_profiler: heap_profiler.cc Makefile
  4. g++ -o heap_profiler heap_profiler.cc -g -O0 -ansi \
  5. -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \
  6. -I../../../objs/gperf/include ../../../objs/gperf/lib/libtcmalloc_and_profiler.a -lpthread
  7. clean:
  8. rm -f heap_profiler srs.*.heap ./*.dSYM