axmol/samples/Cpp/TestCpp/Android.mk

31 lines
882 B
Makefile
Raw Normal View History

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
2012-07-20 17:06:00 +08:00
LOCAL_MODULE := cocos_testcpp_common
2012-07-20 17:06:00 +08:00
LOCAL_MODULE_FILENAME := libtestcppcommon
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))
LOCAL_C_INCLUDES := $(LOCAL_PATH)/Classes
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
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
include $(BUILD_STATIC_LIBRARY)
$(call import-module,CocosDenshion/android)
2012-07-20 17:06:00 +08:00
$(call import-module,external/Box2D)
$(call import-module,external/chipmunk)
$(call import-module,cocos2dx)
2012-07-20 17:06:00 +08:00
$(call import-module,extensions)