in reply to Re: Benchmarks target in Makefile
in thread Benchmarks target in Makefile
got it thanks!
sub MY::postamble { return <<'POSTAMBLE'; bench :: benchmarks/*.b $(NOECHO) /usr/bin/env perl '$<' POSTAMBLE } WriteMakefile( INSTALL_BASE => blablabla )
However, I tried to do this:
sub MY::postamble { return <<'POSTAMBLE'; bench :: $(BENCHMARKS) $(NOECHO) /usr/bin/env perl '$<' POSTAMBLE } WriteMakefile( INSTALL_BASE => blablabla ... postamble => { BENCHMARKS => 'benchmarks/*.b' } );
But I did not see any '$(BENCHMARKS)' var set in the Makefile. Is that the correct use of postamble you think?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Benchmarks target in Makefile
by pryrt (Abbot) on Jun 19, 2018 at 16:20 UTC | |
by bliako (Abbot) on Jun 19, 2018 at 19:40 UTC |