mirror of https://github.com/axmolengine/axmol.git
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := cocos2dxandroid_static
|
|
|
|
LOCAL_MODULE_FILENAME := libcocos2dandroid
|
|
|
|
LOCAL_SRC_FILES := \
|
|
CCApplication-android.cpp \
|
|
CCCommon-android.cpp \
|
|
CCDevice-android.cpp \
|
|
CCGLViewImpl-android.cpp \
|
|
CCFileUtils-android.cpp \
|
|
javaactivity-android.cpp \
|
|
jni/DPIJni.cpp \
|
|
jni/IMEJni.cpp \
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxAccelerometer.cpp \
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp \
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp \
|
|
jni/Java_org_cocos2dx_lib_Cocos2dxRenderer.cpp \
|
|
jni/JniHelper.cpp \
|
|
jni/TouchesJni.cpp \
|
|
jni/CocosPlayClient.cpp
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
|
|
$(LOCAL_PATH)/.. \
|
|
$(LOCAL_PATH)/../.. \
|
|
|
|
LOCAL_EXPORT_LDLIBS := -lGLESv1_CM \
|
|
-lGLESv2 \
|
|
-lEGL \
|
|
-llog \
|
|
-lz \
|
|
-landroid
|
|
|
|
LOCAL_CPPFLAGS := -Wno-extern-c-compat
|
|
|
|
LOCAL_EXPORT_CPPFLAGS := -Wno-extern-c-compat
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|