On Mon, Aug 8, 2011 at 12:29 PM, Matthias Puech <[email protected]> wrote:
> Dear Greg,
>
> Thank you for your quick reply. I am sorry, my question was not clear
> enough. I am aware of the SHELL trick but it doesn't quite fit my needs. I
> need to be able to know the time taken by each *target*, not just the
> commands launched. For example if I have:

I'm not aware of any such feature natively available in make. You
could look and see if "remake" (an instrumented make variant) can do
this. The alternative is the SHELL hack and some of your own
scripting. If you haven't looked at
<http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make>,
do. Seems to me it might be possible to prefix the timings with the
target name using that technique and then collect and sum them up with
a script.

-David Boyce

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to