2010-12-18 18:23:31 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := helloworld
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := main.cpp \
|
|
|
|
../../../AppDelegate.cpp \
|
|
|
|
../../../HelloWorldScene.cpp
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../cocos2dx \
|
|
|
|
$(LOCAL_PATH)/../../../../cocos2dx/include \
|
2011-02-24 19:42:45 +08:00
|
|
|
$(LOCAL_PATH)/../../.. \
|
|
|
|
$(LOCAL_PATH)/../../../../platform_support/include
|
2010-12-18 18:23:31 +08:00
|
|
|
|
|
|
|
LOCAL_LDLIBS := -L$(LOCAL_PATH)/../../libs/armeabi -lcocos2d -llog
|
2010-12-20 10:01:12 +08:00
|
|
|
|
|
|
|
# it is used for ndk-r5
|
|
|
|
# because the new Windows toolchain doesn't support Cygwin's drive
|
|
|
|
# mapping (i.e /cygdrive/c/ instead of C:/)
|
|
|
|
# LOCAL_LDLIBS := -L$(call host-path, $(LOCAL_PATH)/../../libs/armeabi) \
|
|
|
|
# -lcocos2d -llog
|
2010-12-18 18:23:31 +08:00
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|