mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 16:41:12 +02:00
23 lines
549 B
Makefile
23 lines
549 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
# libogg
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libmodplug
|
|
LOCAL_CFLAGS := -fexceptions -g -Dlinux -DHAVE_GCC_DESTRUCTOR=1 -DOPT_GENERIC -DREAL_IS_FLOAT
|
|
LOCAL_CPPFLAGS := ${LOCAL_CFLAGS}
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
${LOCAL_PATH}/src \
|
|
${LOCAL_PATH}/src/libmodplug
|
|
|
|
LOCAL_SRC_FILES := \
|
|
$(filter-out \
|
|
, $(subst $(LOCAL_PATH)/,,\
|
|
$(wildcard ${LOCAL_PATH}/src/*.cpp) ))
|
|
|
|
# $(info libmodplug: include dirs $(LOCAL_C_INCLUDES))
|
|
# $(info libmodplug: src files $(LOCAL_SRC_FILES))
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|