Makefile 362 B

12345678910
  1. .PHONY: default clean
  2. default: heap_checker
  3. heap_checker: heap_checker.cc Makefile
  4. g++ -o heap_checker heap_checker.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 -rf heap_checker ./*.dSYM