symlink support in makefile

by AG » Wed, 14 Apr 2010 03:03:38 GMT

Sponsored Links
 I am using android NDK on windows. I am trying to compile my c file
using Cygwin. Everything works if I put source code under the JNI
directory. However, I want to separate out the C code from the rest of
Android code. So, I created a symlink to point to where the c source
is on cygwin. For ex:
ln -s /cygdrive/c/android-c-source/ src

Now when I type "ls src" on command prompt, I see the content under
the symlink. In the make file, I use
LOCAL_SRC_FILES := src/myc.c
and it does not get compiled.

How do I make the makefile to follow the symlink?


Other Threads

1. help, error: "The application myapp has stopped unexpectedly. please try again"

Why are you calling system.exit(0)?  I can't think of a single case in
Android where you would want to do that (Doesn't mean there isn't a case...
I've just never come across the need).

What does your logcat output say in regards to the error?

Justin Anderson
MagouyaWare Developer


2. Is there a way we can send sensor events just like key events?

We can send key events using InputConnection.sendKeyEvent method.

I want to send sensor events from within my application on click of a
button.  Is there any way I can do this?



3. scrolling a large image

4. Penampak Boss AH@Starbuck Ngurah Rai

5. eclipse locale setting

6. Building app with ant, java resource files (not android) are not added...

7. Handling long process after clicking menu item from the menu