axmol/HelloWorld/android/jni/helloworld/Android.mk

36 lines
1.4 KiB
Makefile
Raw Normal View History

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/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 \
$(LOCAL_PATH)/../../../../CocosDenshion/include \
$(LOCAL_PATH)/../../..
2010-12-20 10:01:12 +08:00
# it is used for ndk-r4
# if you build with nkd-r4, uncomment it
2011-06-01 14:35:28 +08:00
# LOCAL_LDLIBS := -llog -lGLESv1_CM -llog -lz \
# -L$(LOCAL_PATH)/../../../../cocos2dx/platform/third_party/android/libraries -lcurl \
# -lpng \
# -lxml2 \
# -ljpeg
# 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-01 14:35:28 +08:00
LOCAL_LDLIBS := -llog -lGLESv1_CM -llog -lz \
-L$(call host-path, $(LOCAL_PATH)/../../../../cocos2dx/platform/third_party/android/libraries) -lcurl \
-lpng \
-lxml2 \
-ljpeg
2011-06-01 14:35:28 +08:00
LOCAL_STATIC_LIBRARIES := libcocos2d libcocosdenshion
2010-12-18 18:23:31 +08:00
include $(BUILD_SHARED_LIBRARY)