In my Android.mk file, I have something like this
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := testmodule
FILE_LIST := $(LOCAL_PATH)/include/md5/md5.
FILE_LIST += $(LOCAL_PATH)/include/md5/md5main.
FILE_LIST += $(wildcard $(LOCAL_PATH)/include/*.cpp)
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%)
include $(BUILD_SHARED_LIBRARY)
but when I run ndk-build- I get the following error
Android NDK: WARNING: Unsupported source file extensions in /Users/some/path/jni/Android.mk for module testmodule
Android NDK: include/md5/md5. include/md5/md5main.
(I am using android-ndk-r8c on OSX 10.9.2)
How can I add a * .c file to Android.mk? What can i do wrong?
(I can place more Android.mk and Application.mk files if necessary)
Stals source
share