axmol/cocos/platform/android/Android.mk

44 lines
1.1 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 := \
2014-09-10 07:50:02 +08:00
CCApplication-android.cpp \
CCCommon-android.cpp \
CCDevice-android.cpp \
CCGLViewImpl-android.cpp \
CCFileUtils-android.cpp \
javaactivity-android.cpp \
CCEnhanceAPI-android.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 \
2015-01-13 17:30:07 +08:00
jni/TouchesJni.cpp \
jni/CocosPlayClient.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 \
-landroid
LOCAL_CPPFLAGS := -Wno-extern-c-compat
2014-10-17 10:13:33 +08:00
LOCAL_EXPORT_CPPFLAGS := -Wno-extern-c-compat
2013-08-05 16:56:52 +08:00
include $(BUILD_STATIC_LIBRARY)