title: How to get the last dependency of a target?
body: <p>let's say I've got:</p>
  
  <pre><code>target.o: target.h target.c
      gcc $(CFLAGS) -c target.c
  </code></pre>
  
  <p>But I'd like to get rid of the redundant 'target.c'.
  I know that $&lt; will give target.h, is there an internal macro that will give target.c or should I just rearrange it:</p>
  
  <pre><code>target.o: target.c target.h
      gcc $(CFLAGS) -c $&lt;
  </code></pre>
  
  <p>However... I seem to recall that $&lt; won't always return target.c in this case, for example if a change in target.h triggered this rule, then $&lt; would return target.h.  So is there any way to do this consistently? </p>