2010-12-18 18:23:31 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := helloworld
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := main.cpp \
|
2011-09-28 16:46:53 +08:00
|
|
|
../../../Classes/AppDelegate.cpp \
|
|
|
|
../../../Classes/HelloWorldScene.cpp
|
2010-12-18 18:23:31 +08:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../cocos2dx \
|
2011-03-09 14:40:05 +08:00
|
|
|
$(LOCAL_PATH)/../../../../cocos2dx/platform \
|
2010-12-18 18:23:31 +08:00
|
|
|
$(LOCAL_PATH)/../../../../cocos2dx/include \
|
2011-06-01 20:29:05 +08:00
|
|
|
$(LOCAL_PATH)/../../../../cocos2dx/lua_support \
|
2011-04-22 15:49:05 +08:00
|
|
|
$(LOCAL_PATH)/../../../../CocosDenshion/include \
|
2011-09-28 16:46:53 +08:00
|
|
|
$(LOCAL_PATH)/../../../Classes
|
2010-12-20 10:01:12 +08:00
|
|
|
|
2011-04-29 09:59:05 +08:00
|
|
|
# it is used for ndk-r5
|
|
|
|
# if you build with ndk-r4, comment it
|
2010-12-20 10:01:12 +08:00
|
|
|
# because the new Windows toolchain doesn't support Cygwin's drive
|
|
|
|
# mapping (i.e /cygdrive/c/ instead of C:/)
|
2011-06-25 11:21:16 +08:00
|
|
|
LOCAL_LDLIBS := -L$(call host-path, $(LOCAL_PATH)/../../libs/armeabi) \
|
|
|
|
-lcocos2d -llog -lcocosdenshion \
|
|
|
|
-L$(call host-path, $(LOCAL_PATH)/../../../../cocos2dx/platform/third_party/android/libraries) -lcurl
|
2010-12-18 18:23:31 +08:00
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|