2015-05-18 13:41:58 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
$(call import-add-path,$(LOCAL_PATH)/../../../cocos2d)
|
|
|
|
$(call import-add-path,$(LOCAL_PATH)/../../../cocos2d/external)
|
|
|
|
$(call import-add-path,$(LOCAL_PATH)/../../../cocos2d/cocos)
|
2016-03-28 14:35:59 +08:00
|
|
|
$(call import-add-path,$(LOCAL_PATH)/../../../cocos2d/cocos/audio/include)
|
2015-05-18 13:41:58 +08:00
|
|
|
|
2016-03-03 08:51:54 +08:00
|
|
|
LOCAL_MODULE := MyGame_shared
|
2015-05-18 13:41:58 +08:00
|
|
|
|
2016-03-03 08:51:54 +08:00
|
|
|
LOCAL_MODULE_FILENAME := libMyGame
|
2015-05-18 13:41:58 +08:00
|
|
|
|
2017-03-27 11:05:16 +08:00
|
|
|
LOCAL_SRC_FILES := $(LOCAL_PATH)/hellocpp/main.cpp \
|
|
|
|
$(LOCAL_PATH)/../../../Classes/AppDelegate.cpp \
|
|
|
|
$(LOCAL_PATH)/../../../Classes/HelloWorldScene.cpp
|
2015-05-18 13:41:58 +08:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../Classes
|
|
|
|
|
|
|
|
# _COCOS_HEADER_ANDROID_BEGIN
|
|
|
|
# _COCOS_HEADER_ANDROID_END
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES := cocos2dx_static
|
|
|
|
|
|
|
|
# _COCOS_LIB_ANDROID_BEGIN
|
|
|
|
# _COCOS_LIB_ANDROID_END
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
$(call import-module,.)
|
|
|
|
|
|
|
|
# _COCOS_LIB_IMPORT_ANDROID_BEGIN
|
|
|
|
# _COCOS_LIB_IMPORT_ANDROID_END
|