2012-11-22 17:40:25 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := watermelonwithme_shared
|
|
|
|
|
|
|
|
LOCAL_MODULE_FILENAME := libwatermelonwithme
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := watermelonwithme/main.cpp \
|
|
|
|
../../Classes/AppDelegate.cpp
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
|
|
|
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += spidermonkey_static
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += scriptingcore-spidermonkey
|
2013-07-31 03:23:45 +08:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dxandroid_static
|
2012-11-22 17:40:25 +08:00
|
|
|
|
|
|
|
LOCAL_EXPORT_CFLAGS := -DCOCOS2D_DEBUG=2 -DCOCOS2D_JAVASCRIPT
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
$(call import-module,cocos2dx)
|
|
|
|
$(call import-module,CocosDenshion/android)
|
|
|
|
$(call import-module,external/chipmunk)
|
|
|
|
$(call import-module,scripting/javascript/spidermonkey-android)
|
|
|
|
$(call import-module,scripting/javascript/bindings)
|
2013-07-31 03:23:45 +08:00
|
|
|
$(call import-module,cocos2dx/platform/android)
|