Android.mk: Unsupported source file extensions for C files -


in android.mk file have 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 run ndk-build - following error

android ndk: warning: unsupported source file extensions in /users/some/path/jni/android.mk module testmodule     android ndk:   include/md5/md5.с include/md5/md5main.с    

(i use android-ndk-r8c on osx 10.9.2)

how can add *.c file android.mk? doing wrong?

(i can post more of android.mk , application.mk if needed)

just move answer comments, @greenapps said works:

you rename them .cpp , if not possible create .cpp file in include both .c files. 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -