title: How to setup a makefile in eclipse (C++)?
body: <p>I have a project in Eclipse and I want to use my own makefile.
  I went to</p>
  <blockquote>
  <p>project -&gt; properties -&gt; C/C++ Build</p>
  </blockquote>
  <p>and unchecked &quot;Generate Makfiles Automatically&quot;. I have a makefile named <code>Makefile</code> in the project base dir which just contains:</p>
  <pre><code>all: 
      g++ *.cpp -o Simulator.exe
  </code></pre>
  <p>When I try to build, I get the following error:</p>
  <blockquote>
  <p>Build of configuration MinGW GCC for project CacheOptimization</p>
  <p>(Cannot run program &quot;make&quot;: Launching failed)</p>
  </blockquote>
  <p>How can I fix this and make eclipse compile my code?</p>