in reply to Benchmarks target in Makefile
When I want to add targets to to the produced Makefile, I define the sub MY::postamble in Makefile.PL. You can see an example in https://github.com/pryrt/Math-PRBS/blob/master/Makefile.PL, where I add rules that clean up some of the files that make clean misses, or run a coverage report, or autogenerate my LICENSE and README.md from my main module's embedded POD. (As tobyink pointed out, make benchmarks is long... but maybe you could call the target make bm... er, wait, BM doesn't have the best connotations... ;-) Maybe make bench would be better.)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Benchmarks target in Makefile
by bliako (Abbot) on Jun 19, 2018 at 15:11 UTC | |
by pryrt (Abbot) on Jun 19, 2018 at 16:20 UTC | |
by bliako (Abbot) on Jun 19, 2018 at 19:40 UTC | |
Re^2: Benchmarks target in Makefile
by bliako (Abbot) on Jun 19, 2018 at 23:52 UTC |