title: Eclipse - "This project is not a CDT project"
body: <p>I have existing C-Code and an existing Makefile, which I want to wrap into an Eclipse C-Project (Using Eclipse 3.4 Ganymede). The Code is organized like this:</p>
  
  <p>Main Directory: <code>/Project/Software</code></p>
  
  <p>Source and Headerfiles: <code>../Project/Software/CodeDir1  ../Project/Software/CodeDir2</code> etc..  </p>
  
  <p>So far I have been doing these steps:</p>
  
  <ol>
  <li>Set Eclipse worksapce to /Project/</li>
  <li>Create new C-Project with the name <code>Software</code> --> Now Eclipse integrates all Source files etc. into the Project</li>
  <li>Go to Properties -> C/C++ Build and set to "Custom Build options"</li>
  </ol>
  
  <p>First time I do this, everything works fine. I get the output into my console and everything is cool. But then the "Build Icon" (The little hammer) is greyed out and I cant click it anymore. If I now go to the Project Properties -> C/C++ Build it just says "This project is not a CDT Project" and also I get an Error with a "java.lang.NullPointerException". </p>
  
  <p>How can I get a working project? </p>
  
  <p><strong>edit:</strong></p>
  
  <p>To avoid a simple bug I tried the same with the new Version of Eclipse (Kepler). I get the same Error ("No CDT Project") but without the Null Pointer exception. </p>
  
  <p>But I could narrow down the problem a bit: The <strong>first</strong> time I start the make process it always works. If the build process fails, I can still go to my Build Properties. As soon as I get one <strong>complete and error free</strong> build run, this issue occurs. Regarding this, it only happens when my make call is done from Eclipse. If I call it from the command line, I can still make one run out from eclipse.</p>