title: run makefile generated by eclipse from command line after updating code not working
body: <p>I'm running </p>
  
  <blockquote>
    <p>eclipse juno Service Release 2 Build id: 20130225-0426 with <a href="https://dl.dropboxusercontent.com/u/1414360/CDTconfig.png" rel="nofollow">this CDT config</a></p>
  </blockquote>
  
  <p>and this OS:</p>
  
  <p>(truncated output of <code>uname -a</code>): <code>Linux 3.2.0-51-generic #77-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux</code></p>
  
  <p>I create a HelloWorld C++ project as follows:</p>
  
  <ul>
  <li>File->New->C++ Project</li>
  <li>Project type: Executable Empty Project</li>
  <li>Toolchains: Cross GCC</li>
  <li>Configurations: Debug and Release checked</li>
  </ul>
  
  <p>Then I create a C++ source file <code>Main.cpp</code> that contains hello world code.</p>
  
  <p>I can then compile using the hammer icon. I choose to compile in Release mode. The program runs fine (inside eclipse or at the command line) and prints "hello".
  If I modify the code to print out "hello there", I can recompile with the hammer and the program still runs fine and prints out "hello there".</p>
  
  <p>However, if I modify the code to print out "hello there you", go to the Release directory (<code>/home/user/workspace/HelloWorld/Release</code>) and type make, I get this message: <code>make: Nothing to be done for 'Main.d'</code>. </p>
  
  <p>There is a file called makefile in the Release directory, but it's not behaving like a normal makefile. I would expect this makefile to be such that when there is a change in the code and you type make, the code gets actually recompiled. If I type <code>make clean</code> followed by <code>make</code>, the code gets recompiled but this is inefficient for larger projects.</p>
  
  <p>Do you know why the makefile generated by eclipse is behaving this way ? Thanks very much.</p>