comparison Makefile.android @ 4962:730b234ba9ec

Backed down to NDK R4b
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Jan 2011 21:05:42 -0800
parents 0ab2492f2e17
children
comparison
equal deleted inserted replaced
4961:c92950635837 4962:730b234ba9ec
1 # Makefile to build the SDL library 1 # Makefile to build the SDL library
2 2
3 include ./android/config.cfg #get ANDROID_NDK, ANDROID_NDK_HOST 3 include ./android/config.cfg #get ANDROID_NDK, ANDROID_NDK_HOST
4 4
5 TOOLS_PATH=$(ANDROID_NDK)/toolchains/arm-eabi-4.4.0/prebuilt/$(ANDROID_NDK_HOST)/bin 5 # For NDK R4
6 ANDROID_INCLUDES = -I$(ANDROID_NDK)/platforms/android-4/arch-arm/usr/include 6 TOOLS_PATH=$(ANDROID_NDK)/build/prebuilt/$(ANDROID_NDK_HOST)/arm-eabi-4.2.1/bin
7 ANDROID_INCLUDES = -I$(ANDROID_NDK)/build/platforms/android-4/arch-arm/usr/include
8
9 # For NDK R5
10 #TOOLS_PATH=$(ANDROID_NDK)/toolchains/arm-eabi-4.4.0/prebuilt/$(ANDROID_NDK_HOST)/bin
11 #ANDROID_INCLUDES = -I$(ANDROID_NDK)/platforms/android-4/arch-arm/usr/include
12
7 INCLUDE = -I./include 13 INCLUDE = -I./include
8 CFLAGS = -g -O2 -fno-short-enums $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static 14 CFLAGS = -g -O2 -fno-short-enums $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static
9 15
10 AR = $(TOOLS_PATH)/arm-eabi-ar 16 AR = $(TOOLS_PATH)/arm-eabi-ar
11 RANLIB = $(TOOLS_PATH)/arm-eabi-ranlib 17 RANLIB = $(TOOLS_PATH)/arm-eabi-ranlib