view android/project/jni/Android.mk @ 4926:ab02a7242f08

Fixed the gcc include path when building on Mac OS X 10.5
author Sam Lantinga <slouken@libsdl.org>
date Wed, 01 Dec 2010 12:52:48 -0800
parents 9076cdb027af
children
line wrap: on
line source

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := sdlapp
SDL := ../../../

LOCAL_CFLAGS := -DANDROID_NDK \
                -DDISABLE_IMPORTGL \
                -I$(SDL)/include

LOCAL_SRC_FILES := \
    android-support.cpp \
    lesson05.c \

LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog -lSDL -lgcc -L$(SDL)

include $(BUILD_SHARED_LIBRARY)