title: What's a good directory structure for larger C++ projects using Makefile?
body: <p>What's a good directory structure for larger C++ projects using Makefile ?</p>
  
  <p>This is how my directory structure looks at the moment:</p>
  
  <pre><code>lib/ (class implementations *.cpp)
  include/ (class definitions *.h)
  tests/ (main.cpp for quick tests)
  </code></pre>
  
  <p>Now, I'm not sure how my Makefile should look like... it doesn't seem to work when .cpp files and .h files aren't in the same directory. Could anyone point me to a common directory structure with an accompanying Makefile so that I don't reinvent the wheel ?</p>