2011-06-15 11:11:13 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := game
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := main.cpp \
|
2011-06-21 10:18:43 +08:00
|
|
|
../../../Classes/AppDelegate.cpp \
|
|
|
|
../../../../lua/cocos2dx_support/LuaEngineImpl.cpp \
|
2011-09-05 17:13:52 +08:00
|
|
|
../../../../lua/cocos2dx_support/Cocos2dxLuaLoader.cpp \
|
2011-06-21 10:18:43 +08:00
|
|
|
../../../../lua/cocos2dx_support/LuaCocos2d.cpp \
|
2011-08-17 01:06:22 +08:00
|
|
|
../../../../lua/cocos2dx_support/LuaEngine.cpp \
|
|
|
|
../../../../lua/CocosDenshion_support/LuaSimpleAudioEngine.cpp
|
2011-06-15 11:11:13 +08:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../cocos2dx \
|
|
|
|
$(LOCAL_PATH)/../../../../cocos2dx/platform \
|
|
|
|
$(LOCAL_PATH)/../../../../cocos2dx/include \
|
|
|
|
$(LOCAL_PATH)/../../../../cocos2dx/lua_support \
|
|
|
|
$(LOCAL_PATH)/../../../../CocosDenshion/include \
|
|
|
|
$(LOCAL_PATH)/../../../Classes \
|
2011-06-23 12:01:02 +08:00
|
|
|
$(LOCAL_PATH)/../../../../lua/lua \
|
2011-06-21 10:18:43 +08:00
|
|
|
$(LOCAL_PATH)/../../../../lua/tolua \
|
2011-08-17 01:06:22 +08:00
|
|
|
$(LOCAL_PATH)/../../../../lua/cocos2dx_support \
|
|
|
|
$(LOCAL_PATH)/../../../../lua/CocosDenshion_support
|
2011-06-15 11:11:13 +08:00
|
|
|
# it is used for ndk-r5
|
|
|
|
# if you build with ndk-r4, comment it
|
|
|
|
# because the new Windows toolchain doesn't support Cygwin's drive
|
|
|
|
# mapping (i.e /cygdrive/c/ instead of C:/)
|
2011-06-25 11:57:34 +08:00
|
|
|
LOCAL_LDLIBS := -L$(call host-path, $(LOCAL_PATH)/../../libs/armeabi) \
|
|
|
|
-L$(call host-path, $(LOCAL_PATH)/../../../../cocos2dx/platform/third_party/android/libraries) -lcurl \
|
|
|
|
-lcocos2d \
|
|
|
|
-lcocosdenshion \
|
|
|
|
-llua
|
2011-06-15 11:11:13 +08:00
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|