Makefile 355 B

12345678910
  1. .PHONY: default clean
  2. default: heap_defense
  3. heap_defense: heap_defense.cc Makefile
  4. g++ -o heap_defense heap_defense.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_debug.a -lpthread
  7. clean:
  8. rm -rf heap_defense ./*.dSYM