title: Android NDK, header files not found on build
body: <p>When using the Android NDK, A.cpp is my entry point.</p>
  
  <pre><code>LOCAL_MODULE    := A
  LOCAL_SRC_FILES := A.cpp
  </code></pre>
  
  <p>However A.cpp includes other files found in subdirs.</p>
  
  <ul>
  <li>A.cpp includes dir1/B.cpp with the statement #include "B.cpp"</li>
  <li>B.cpp includes dir2/C.cpp with the statement #include "C.cpp"</li>
  </ul>
  
  <p>This causes the includes to be not found during compile.</p>
  
  <p>The only way to fix it is to change it is to add the subfolder in the statement:</p>
  
  <pre><code>#include "dir1/B.cpp"
  </code></pre>
  
  <p>Is there a solution without having to add the subfolder to all the statements?</p>