title: How to handle the sub-make in GNU make errors?
body: <p>I'm using sub-make in my Makefile(GNU). But whenever sub-make fails the main make continues to run successfully after that. I want my main Makefile to fail whenever my sub-make fails. How do I do that? </p>
  
  <pre><code>all:   
      pushd ${STA_DIR};make clean;make ARGS=${A1},${A2};popd
  </code></pre>
  
  <p>Whenever the make in STA_DIR fails the main make doesn't stop. I would like to have the main make stopped. </p>