title: Android NDK: how to let gcc to use additional include directories
body: <p>A simple question (i am using android NDK r6 with cygwin, but this is a question regarding makefiles and gcc). Suppose that i put under jni/ directory a library under the dir mylib_v_1/. Mylib is structured as:</p>
  
  <pre><code>mylib_v_1
     mylib
        include
  </code></pre>
  
  <p>Under the include directory there are two files, myinc1.hpp and myinc2.hpp. In myinc1.hpp there is a line as:</p>
  
  <pre><code>#include &lt;mylib/myinc2.hpp&gt;
  </code></pre>
  
  <p>in my .cpp file, under the jni/ directory, there is the following line:</p>
  
  <pre><code>#include &lt;mylib/myinc1.hpp&gt;
  </code></pre>
  
  <p>I want to setup the Android.mk (or what other files needs to be set up) in order to let gcc to know to use, as additional include directory, jni/mylib_v_1/ in order to use #include with brackets (instead of two files, in my real case there are a lot of .hpp that includes a lot of other .hpp with brackets notation).</p>
  
  <p>How can i do this?</p>
  
  <p>Thx.</p>
  
  <p>Ps.
  If, in the .cpp file i change the include in this way:</p>
  
  <pre><code>#include "mylib/myinc1.hpp"
  </code></pre>
  
  <p>gcc find myinc1.hpp but, while processing it, it find the second include:</p>
  
  <pre><code>#include  &lt;mylib/myinc2.hpp&gt;
  </code></pre>
  
  <p>and stop there, saying that it is not able to find the file myinc2.hpp.</p>