Android.mk
author Sam Lantinga <slouken@libsdl.org>
Wed, 17 Apr 2013 01:27:39 -0700
changeset 611 595186c9c0ec
parent 581 7073b1ab6708
child 626 1da1d92ffa9c
permissions -rw-r--r--
Build music support into the framework
     1 LOCAL_PATH := $(call my-dir)
     2 
     3 include $(CLEAR_VARS)
     4 
     5 LOCAL_MODULE := SDL2_mixer
     6 
     7 LOCAL_C_INCLUDES := \
     8 	$(LOCAL_PATH)/.. \
     9 	$(LOCAL_PATH)/../SDL/include \
    10 	$(LOCAL_PATH)/../mikmod/include \
    11 
    12 LOCAL_CFLAGS := -DWAV_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR -DMOD_MUSIC
    13 
    14 LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c, $(wildcard $(LOCAL_PATH)/*.c)))
    15 
    16 LOCAL_SHARED_LIBRARIES := SDL2 mikmod
    17 LOCAL_STATIC_LIBRARIES := tremor
    18 
    19 include $(BUILD_SHARED_LIBRARY)