title: Where is Android.mk supposed to be?
body: <p>In the documentation for Android NDK, the following statement is present:</p>
  
  <blockquote>
    <p>The Android.mk file resides in a subdirectory of your project's jni/ directory [...]
    <a href="http://developer.android.com/ndk/guides/android_mk.html" rel="noreferrer">http://developer.android.com/ndk/guides/android_mk.html</a></p>
  </blockquote>
  
  <p>I can interpret from this that an <code>Android.mk</code> file should be placed in <code>[project_path]/jni/[module_name]/Android.mk</code>, each module having its own specific <code>Android.mk</code> file since this is what differentiates it from the application wide <code>Application.mk</code> file, but when I execute <code>ndk-build</code> I get the following error message:</p>
  
  <blockquote>
    <p>Android NDK: There is no Android.mk under ./jni<br>
       Android NDK: If this is intentional  please define APP_BUILD_SCRIPT to point<br>
       Android NDK: to a valid NDK build script.    </p>
  </blockquote>
  
  <p>I gather from that I am supposed to create a single <code>Android.mk</code> file  alongside my <code>Application.mk</code> file or define <code>APP_BUILD_SCRIPT</code> in  <code>Application.mk</code> to point to a single <code>Android.mk</code> file. This contradicts the documentation and leaves me wondering why there is a need for multiple makefiles when <code>Android.mk</code> will contain the definitions for all modules anyway-that could just as well be placed in <code>Application.mk</code>.</p>
  
  <p>Reading a couple of NDK sample projects I found out that, indeed, the <code>Android.mk</code> file is in the same directory as <code>Application.mk</code> and executing <code>ndk-build</code> on them seems to work.</p>
  
  <p>What is missing?</p>