axmol/cocos/2d/platform/android/Android.mk

57 lines
1.5 KiB
Makefile
Raw Normal View History

2013-08-05 16:56:52 +08:00
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := cocos2dxandroid_static
LOCAL_MODULE_FILENAME := libcocos2dandroid
LOCAL_SRC_FILES := \
CCApplication.cpp \
CCCommon.cpp \
CCDevice.cpp \
2014-01-31 08:51:43 +08:00
CCGLView.cpp \
2013-08-05 16:56:52 +08:00
CCFileUtilsAndroid.cpp \
2014-03-25 10:57:29 +08:00
javaactivity.cpp \
jni/DPIJni.cpp \
jni/IMEJni.cpp \
2014-03-25 10:57:29 +08:00
jni/Java_org_cocos2dx_lib_Cocos2dxAccelerometer.cpp \
2013-08-05 16:56:52 +08:00
jni/Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp \
jni/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp \
2014-03-25 10:57:29 +08:00
jni/Java_org_cocos2dx_lib_Cocos2dxRenderer.cpp \
jni/JniHelper.cpp \
jni/TouchesJni.cpp
2013-08-05 16:56:52 +08:00
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
$(LOCAL_PATH)/../.. \
2014-04-09 22:30:49 +08:00
$(LOCAL_PATH)/../../.. \
$(LOCAL_PATH)/../../../base \
2014-03-05 08:59:39 +08:00
$(LOCAL_PATH)/../../../math/kazmath \
$(LOCAL_PATH)/../../../physics
2013-08-05 16:56:52 +08:00
LOCAL_LDLIBS := -lGLESv1_CM \
-lGLESv2 \
2013-08-05 16:56:52 +08:00
-lEGL \
-llog \
-lz \
-landroid
LOCAL_EXPORT_LDLIBS := -lGLESv1_CM \
-lGLESv2 \
2013-08-05 16:56:52 +08:00
-lEGL \
-llog \
-lz \
-landroid
2014-03-25 10:57:29 +08:00
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_png_static cocos_jpeg_static cocos_tiff_static cocos_webp_static
2013-08-05 16:56:52 +08:00
include $(BUILD_STATIC_LIBRARY)
$(call import-module,jpeg/prebuilt/android)
$(call import-module,png/prebuilt/android)
$(call import-module,tiff/prebuilt/android)
$(call import-module,webp/prebuilt/android)