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. g1phone

why cant i put my music and pics on the new g1 phone it wont let me do
anything are there drivers yhat i need to down load?

--~--~---------~--~----~------------~-------~--~----~

2. Keeping a service alive?

I have created a service that runs a Timer and TimerTask.  That timer
may fire every 5 minutes to 4 hours, depending on the user's
settings.  My problem is that my service eventually gets destroyed.
Is there a setting to keep it alive, or someway to tell the OS to
restart it once enough resources are available?

In addition, I'm not sure my implementation is the most sound.  What's
the best way run a TimerTask as a background process?

Thanks,
Eric
--~--~---------~--~----~------------~-------~--~----~

3. New site offering free android apps

4. problem downloading source

5. Is BrowserCallback missing in my SDK or does it not exist?

6. mime handler with inline content disposition

7. how to read the trace file