title: stop on error when target of makefile rule is a foreach function
body: <p>I have a makefile that defines several rules where the target is a foreach function.  </p>
  
  <pre><code>$(foreach var,$(list), $($(var)_stuff) $($(var)_more_stuff)):
      @echo Building $@ from $^...
      $(CC) $(FLAGS) ...
  </code></pre>
  
  <p>Is there any way to get make to quit when encountering an error without going through the entire list.</p>