title: Eclipse on Ubuntu: No rule to make target `all' error using existing makefile/project
body: <p>I'm running Eclipse 3.7.2 with CDT installed. Ubuntu 12.04 LTS.</p>
  
  <p>I have an existing makefile C++ project that I'm trying to import from Geany. I can run <code>$ make</code> in the project's root directory, and everything builds as expected.</p>
  
  <p><strong>My error</strong> in Eclipse: </p>
  
  <blockquote>
    <p>make: *** No rule to make target `all'. Stop.</p>
  </blockquote>
  
  <p><strong>My question</strong>: how do I eliminate this error?</p>
  
  <p>Here are the exact steps I'm taking:</p>
  
  <ol>
  <li>File>New>Makefile project with existing code.
  
  <ul>
  <li>Existing Code Location set to project's root directory.</li>
  <li>Languages set to C++</li>
  <li>Toolchain set to Cross GCC</li>
  </ul></li>
  <li>In Project Properties>C/C++ Build...
  
  <ul>
  <li>In Builder Settings...
  
  <ul>
  <li>Using default build command</li>
  <li>NOT using generate makefiles automatically (is unavailable)</li>
  </ul></li>
  <li>In Behaviour...
  
  <ul>
  <li>Using Build (Incremental build) &lt;&lt; all</li>
  <li>Using Clean &lt;&lt; clean</li>
  </ul></li>
  </ul></li>
  </ol>
  
  <p><a href="https://stackoverflow.com/q/12574187/1519716">Eclipse CDT: no rule to make target all</a> comes close to answering the problem I'm trying to correct, but I have the same issue as OP: generate makefile automatically is unavailable.</p>
  
  <p>I've tried <a href="https://stackoverflow.com/q/3714852/1519716">make: *** No rule to make target `all&#39;. Stop. Eclipse error</a>'s top rated solution as well. However, when I uncheck the Build (Incremental Build) option, then build does absolutely nothing, so this isn't right either.</p>