摘要:
比方你有如下目录,要编译Classes目录和Code目录下所有cppsrc|-android.mk|-Classes |-A.cpp |-B.cpp |-....cpp|-Code |-E.cpp |-F.cpp那你可以这样往android.mk文件里写要编译的源文件SRC_LIST :=$(wildcard $(LOCAL_PATH)/Classes/*.cpp)LOCAL_SRC_FILES += $(SRC_LIST:$(LOCAL_PATH)/%=%)SRC_LIST :=$(wildcard $(LOCAL_PATH)/Code/*.cpp)LOCAL_SRC_F... 阅读全文