axmol/cocos/platform/android/Android.mk

39 lines
930 B
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-07-31 00:53:04 +08:00
CCGLViewImpl.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)/.. \
2013-08-05 16:56:52 +08:00
$(LOCAL_PATH)/../.. \
LOCAL_EXPORT_LDLIBS := -lGLESv1_CM \
-lGLESv2 \
2013-08-05 16:56:52 +08:00
-lEGL \
-llog \
-lz \
-landroid
include $(BUILD_STATIC_LIBRARY)