project_files/Android-build/SDL-android-project/jni/SDL_mixer/Android.mk
author Xeli
Sun, 09 Oct 2011 20:41:17 +0200
branchhedgeroid
changeset 6045 9a7cc0f29430
child 6234 1323a3681327
permissions -rw-r--r--
Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := SDL_mixer

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/../../../../../misc/libtremor \
        $(LOCAL_PATH)/.. \
	$(LOCAL_PATH)/../SDL/include \
	$(LOCAL_PATH)/../mikmod/include \

LOCAL_CFLAGS := -DWAV_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR -DMOD_MUSIC

LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c, $(wildcard $(LOCAL_PATH)/*.c)))

LOCAL_SHARED_LIBRARIES := SDL mikmod
LOCAL_STATIC_LIBRARIES := tremor

include $(BUILD_SHARED_LIBRARY)