For reasons given at Android gcc sysroot and linker, I am compiling my Android NDK project with arm-linux-gnueabi-gcc
.
This requires compiling the source, with the options specified in a makefile as for example given at
How-to use a shared library in native-activity.
Is there any way to unmake, or in other words, reverse a gcc makefile into the equivalent command-line options?
e.g. how would you reverse LOCAL_STATIC_LIBRARIES := android_native_app_glue