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
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@491
     7
LOCAL_CFLAGS := -I$(LOCAL_PATH)/.. -I$(LOCAL_PATH)/../SDL/include \
slouken@491
     8
	-DWAV_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR #-DMOD_MUSIC
slouken@491
     9
slouken@491
    10
LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c, $(wildcard $(LOCAL_PATH)/*.c)))
slouken@491
    11
slouken@491
    12
LOCAL_SHARED_LIBRARIES := SDL
slouken@491
    13
LOCAL_STATIC_LIBRARIES := tremor
slouken@491
    14
slouken@491
    15
include $(BUILD_SHARED_LIBRARY)