# To use a prebuilt CFITSIO library, first build the library with the build.sh file. # Then create a folder in your project's jni folder that contains the CFITSIO headers, # the library, License.txt, and this file. I called this folder "cfitsio", but you can # call it whatever you want. # # In the Android.mk file of the add $(JNI)/cfitsio to the list of LOCAL_C_INCLUDES # To LOCAL_STATIC_LIBRARIES add cfitio. After that, all should work. # # I link to CFITSIO from a JNI library that, in turn, is linked to by an Android App. # If you want to link directly from the Java, you're on your own. # LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := cfitsio LOCAL_SRC_FILES := libcfitsio.a include $(PREBUILT_STATIC_LIBRARY)