title: Measure (profile) time spent in each target of a Makefile
body: <p>Is there a way to echo the (system, user, real) time spent in each target of a <code>Makefile</code> recursively when I do <code>make all</code>?</p>
  
  <p>I'd like to benchmark the compilation of a project in a more granular way than just <code>time make all</code>. Ideally, it would echo a tree of the executed target, each one with the time spent in all its dependencies. It'd be great also if it could work with <code>-j</code> (parallel make). And by the way my <code>Makefile</code> is non-recursive (doesn't spawn another <code>make</code> instance for each main targets).</p>
  
  <p>Thanks!</p>