Android.mk
author Ozkan Sezer <sezeroz@gmail.com>
Sun, 07 Oct 2018 03:07:33 +0300
branchSDL-1.2
changeset 885 dd251a0ec666
parent 493 ff616dc8d6c3
child 581 7073b1ab6708
permissions -rw-r--r--
backport fix for bug #2795. (from 2.0 branch commit b28b41b93ba7).
slouken@491
     1
LOCAL_PATH := $(call my-dir)
slouken@491
     2
slouken@491
     3
include $(CLEAR_VARS)
slouken@491
     4
slouken@491
     5
LOCAL_MODULE := SDL_mixer
slouken@491
     6
slouken@493
     7
LOCAL_C_INCLUDES := \
slouken@493
     8
	$(LOCAL_PATH)/.. \
slouken@493
     9
	$(LOCAL_PATH)/../SDL/include \
slouken@493
    10
	$(LOCAL_PATH)/../mikmod/include \
slouken@493
    11
slouken@493
    12
LOCAL_CFLAGS := -DWAV_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR -DMOD_MUSIC
slouken@491
    13
slouken@491
    14
LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c, $(wildcard $(LOCAL_PATH)/*.c)))
slouken@491
    15
slouken@493
    16
LOCAL_SHARED_LIBRARIES := SDL mikmod
slouken@491
    17
LOCAL_STATIC_LIBRARIES := tremor
slouken@491
    18
slouken@491
    19
include $(BUILD_SHARED_LIBRARY)