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