annotate android/project/jni/Android.mk @ 4909:fd40b483d489
Use SDL endian macros in libm.
This fixes problems (specifically with SDL_floor) for systems where __BYTE_ORDER is not defined.
author |
Daniel Wyatt <Daniel.Wyatt@gmail.com> |
date |
Tue, 16 Nov 2010 13:24:55 -0500 |
parents |
9076cdb027af |
children |
|
rev |
line source |
4726
|
1 LOCAL_PATH := $(call my-dir)
|
|
2
|
|
3 include $(CLEAR_VARS)
|
|
4
|
|
5 LOCAL_MODULE := sdlapp
|
|
6 SDL := ../../../
|
|
7
|
|
8 LOCAL_CFLAGS := -DANDROID_NDK \
|
|
9 -DDISABLE_IMPORTGL \
|
|
10 -I$(SDL)/include
|
|
11
|
|
12 LOCAL_SRC_FILES := \
|
|
13 android-support.cpp \
|
|
14 lesson05.c \
|
|
15
|
|
16 LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog -lSDL -lgcc -L$(SDL)
|
|
17
|
|
18 include $(BUILD_SHARED_LIBRARY)
|