title: Trying to compile JNI (native) parts of the NDK's San Angeles example (Windows)
body: <p>I'm trying to do what the question says -- using a Cygwin shell. I've set it up according to 2 essentially equivalent tutorials I've Googled but yet I can not get the shell/make process to work properly. Unix/Cygwin skills lack, obviously.</p>
  
  <p>So, my Cygwin is installed to it's default location and I've got the Android SDK and NDK set up right as well (normal Java apps work fine building/debugging from Eclipse).</p>
  
  <p>This is how my modified Cygwin.bat looks:</p>
  
  <pre><code>@echo off
  
  set IS_UNIX=
  set DEV_ROOT=c:/PROGRA~1/Android/android-ndk-r6/samples/san-angeles
  set JAVA_HOME=c:/PROGRA~1/Java/jdk1.6.0_26
  set CLASSPATH=c:/PROGRA~1/Android/android-ndk-r6/samples/san-angeles/obj
  set PATH=c:/PROGRA~1/Android/android-sdk/tools;c:/PROGRA~1/Android/android-ndk-r6
  set ANDROID_NDK_ROOT=c:/PROGRA~1/Android/android-ndk-r6
  set NDK_PROJECT_PATH=c:/PROGRA~1/Android/android-ndk-r6/samples/san-angeles
  C:
  chdir C:\cygwin\bin
  bash --login -i
  </code></pre>
  
  <p>These paths are correct. When I change path to the NDK root and type ./ndk-build, this is the result:</p>
  
  <pre><code>nova@edwmini ~
  $ cd c:/progra~1/android/android-ndk-r6
  
  nova@edwmini /cygdrive/c/progra~1/android/android-ndk-r6
  $ ./ndk-build
  /cygdrive/c/progra~1/android/android-ndk-r6/build/core/build-binary.mk:37: *** t
  arget pattern contains no `%'.  Stop.
  
  nova@edwmini /cygdrive/c/progra~1/android/android-ndk-r6
  $
  </code></pre>
  
  <p>A kick in my ass in the right direction would be greatly appreciated.</p>