mirror of
https://github.com/love2d/love-android.git
synced 2026-08-19 12:14:49 +02:00
added dependencies and build files (loosely inspired by Sebastian Dorda's love-native-android)
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# libogg
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libdevil
|
||||
LOCAL_CFLAGS := -fexceptions -g -Dlinux -Dunix \
|
||||
-DHAVE_GCC_DESTRUCTOR=1 -DOPT_GENERIC -DREAL_IS_FLOAT
|
||||
|
||||
LOCAL_CPPFLAGS := ${LOCAL_CFLAGS}
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
${LOCAL_PATH}/include \
|
||||
${LOCAL_PATH}/src-IL/include \
|
||||
${LOCAL_PATH}/../jasper-1.900.1/src/libjasper/include \
|
||||
${LOCAL_PATH}/../libpng-1.5.6/ \
|
||||
${LOCAL_PATH}/../libmng-1.0.10/ \
|
||||
${LOCAL_PATH}/../jpeg-8c/ \
|
||||
${LOCAL_PATH}/../lcms2-2.2/include \
|
||||
${LOCAL_PATH}/../tiff-3.9.5/libtiff
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(filter-out \
|
||||
,$(subst $(LOCAL_PATH)/,,\
|
||||
$(wildcard ${LOCAL_PATH}/src-IL/src/*.c) ))
|
||||
|
||||
$(info libdevil: include dirs $(LOCAL_C_INCLUDES))
|
||||
$(info libdevil: src files $(LOCAL_SRC_FILES))
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
Reference in New Issue
Block a user