title: override Makefile goal
body: <p>The situation is as follow: We use the common perforce source control system. Each time we build, we sync up the latest code and run the Makefile from perforce (let's call it the main Makefile). Is there away to override the goal inside the main Makefile with very minor changes to it, so that we can insert some customized actions on the same goal. </p>
  
  <p>For example, the main Makefile looks like this</p>
  
  <pre><code>all:
       echo "main Makefile actions"
  </code></pre>
  
  <p>How can we insert our customized actions into the same rule, by including a personal <code>Makefile.personal</code></p>
  
  <pre><code>all:
       echo "my actions"
  </code></pre>
  
  <p>The expected result is that when we do <code>make all</code>, the actions which are carried out are both </p>
  
  <pre><code>echo "main Makefile actions"
  echo "my actions"
  </code></pre>
  
  <p>Any suggestions are appreciated. Thanks and Best Regards</p>