in reply to Re^3: Benchmarks target in Makefile
in thread Benchmarks target in Makefile

thanks it works.

Based on what you supplied, inserting into the Makefile a variable which holds all benchmark files $(BENCHMARKS), works this way:

return "BENCHMARKS=$h{BENCHMARKS}\n" . <<'POSTAMBLE'; bench :: $(BENCHMARKS) $(NOECHO) /usr/bin/env perl '$<' POSTAMBLE