Android.mk
author Sam Lantinga <slouken@libsdl.org>
Tue, 11 Jan 2011 01:29:19 -0800
changeset 491 0f6c89f20c76
child 493 ff616dc8d6c3
permissions -rw-r--r--
Added Android Makefile to create an SDL_mixer shared library
     1 LOCAL_PATH := $(call my-dir)
     2 
     3 include $(CLEAR_VARS)
     4 
     5 LOCAL_MODULE := SDL_mixer
     6 
     7 LOCAL_CFLAGS := -I$(LOCAL_PATH)/.. -I$(LOCAL_PATH)/../SDL/include \
     8 	-DWAV_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR #-DMOD_MUSIC
     9 
    10 LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c, $(wildcard $(LOCAL_PATH)/*.c)))
    11 
    12 LOCAL_SHARED_LIBRARIES := SDL
    13 LOCAL_STATIC_LIBRARIES := tremor
    14 
    15 include $(BUILD_SHARED_LIBRARY)