Makefile 364 B

12345678910
  1. .PHONY: default clean
  2. default: cpu_profiler
  3. cpu_profiler: cpu_profiler.cc Makefile
  4. g++ -o cpu_profiler cpu_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 cpu_profiler ./srs.prof*