2011-11-23 15:51:30 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2011-11-23 15:51:30 +08:00
|
|
|
include $(CLEAR_VARS)
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_MODULE := cocos_testcpp_common
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_MODULE_FILENAME := libtestcppcommon
|
2011-11-23 15:51:30 +08:00
|
|
|
|
2013-08-03 23:12:10 +08:00
|
|
|
dirs := $(shell find $(LOCAL_PATH)/Classes -type d -print)
|
2013-08-02 17:33:27 +08:00
|
|
|
find_files = $(subst $(LOCAL_PATH)/,,$(wildcard $(dir)/*.cpp))
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(foreach dir, $(dirs), $(find_files))
|
2011-11-23 15:51:30 +08:00
|
|
|
|
2013-07-11 15:09:13 +08:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/Classes
|
|
|
|
|
2012-05-02 12:00:39 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
|
2012-07-20 17:06:00 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
|
2012-02-07 14:34:30 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
2011-11-23 15:51:30 +08:00
|
|
|
|
2012-02-09 15:49:14 +08:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2012-02-07 14:34:30 +08:00
|
|
|
|
2012-07-23 11:07:31 +08:00
|
|
|
$(call import-module,CocosDenshion/android)
|
2012-07-20 17:06:00 +08:00
|
|
|
$(call import-module,external/Box2D)
|
|
|
|
$(call import-module,external/chipmunk)
|
2012-05-02 12:00:39 +08:00
|
|
|
$(call import-module,cocos2dx)
|
2012-07-20 17:06:00 +08:00
|
|
|
$(call import-module,extensions)
|