063 android。mk 自动生成
2015-06-14 12:07
393 查看
#traverse all the directory and subdirectory
define walk
$(wildcard $(1)) $(foreach e, $(wildcard $(1)/*), $(call walk, $(e)))
endef
#traverse Classes Directory
ALLFILES = $(call walk, $(LOCAL_PATH)/../../Classes)
FILE_LIST := hellolua/main.cpp
FILE_LIST += $(filter %.cpp, $(ALLFILES))
FILE_LIST += $(filter %.c, $(ALLFILES))
FILE_INCLUDES := $(shell find $(LOCAL_PATH)/../../Classes -type d)
#source file will be compiled
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%)
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../external/Box2D/ \
$(FILE_INCLUDES) \
相关文章推荐
- Android之文件读写工具类
- Android编程9:蓝牙测试
- 发现问题 解决问题:用 Chrome 运行Android应用
- Android模拟器按键对应的键盘按键
- Android进行单元测试难在哪-part4
- Android中ActionBar的setDisplayHomeAsUpEnabled、setHomeButtonEnabled和setDisplayShowHomeEnabled方法的理解
- Linear Layout,Relative Layout
- Android--PendingIntent 实现发送通知notification
- Android Studio 一些使用经验
- AndroidManifest.xml android:process元素说明
- android之startActivityForResult的使用
- 【Android开发】网路编程及Internet应用-使用WebView显示网页
- Android 自定义PopupWindow以及参数传递与返回
- android SDK 更新
- Android-View
- Android EventBus发布/订阅事件总线
- Android实战简易教程-第十七枪(LayoutAnimation布局动画)
- Android和JavaScript互相调用
- Android活动条(actionbar)使用详解(二)
- Android项目全局变量的定义