No need for it to occupy a directory of its own.
$(if $(quiet),@echo " RANLIB $@")
$(Q)$(RANLIB) $@
-.PHONY: perf
-perf: ccache$(EXEEXT)
- $(srcdir)/perf/perf.py --ccache ccache$(EXEEXT) $(CC) $(all_cppflags) $(all_cflags) $(srcdir)/src/ccache.c
+.PHONY: performance
+performance: ccache$(EXEEXT)
+ $(srcdir)/misc/performance --ccache ccache$(EXEEXT) $(CC) $(all_cppflags) $(all_cflags) $(srcdir)/src/ccache.c
.PHONY: test
test: ccache$(EXEEXT) unittest/run$(EXEEXT)
The arguments to the program should be the compiler, optionally followed by
compiler options, and finally the source file to compile. The compiler options
must not contain -c or -o as these options will be added later. Example:
-./perf.py gcc -g -O2 -Idir file.c
+misc/performance gcc -g -O2 -Idir file.c
"""
DEFAULT_CCACHE = "./ccache"