Mercurial > sdl-ios-xcode
comparison Makefile.android @ 4941:bd009a923441
Updated for NDK R5
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 01 Jan 2011 19:38:23 -0800 |
parents | faa228f7ce5b |
children | faad280e3280 |
comparison
equal
deleted
inserted
replaced
4940:77f079051f60 | 4941:bd009a923441 |
---|---|
1 # Makefile to build the SDL library | 1 # Makefile to build the SDL library |
2 | 2 |
3 include ./android/config.cfg #get ANDROID_NDK | 3 include ./android/config.cfg #get ANDROID_NDK |
4 | 4 |
5 TOOLS_PATH=$(ANDROID_NDK)/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin | 5 TOOLS_PATH=$(ANDROID_NDK)/toolchains/arm-eabi-4.4.0/prebuilt/darwin-x86/bin |
6 ANDROID_INCLUDES = -I$(ANDROID_NDK)/build/platforms/android-4/common/include \ | 6 ANDROID_INCLUDES = -I$(ANDROID_NDK)/platforms/android-4/arch-arm/usr/include |
7 -I$(ANDROID_NDK)/build/platforms/android-4/arch-arm/usr/include | |
8 INCLUDE = -I./include | 7 INCLUDE = -I./include |
9 CFLAGS = -g -O2 $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static | 8 CFLAGS = -g -O2 $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static |
10 | 9 |
11 AR = $(TOOLS_PATH)/arm-eabi-ar | 10 AR = $(TOOLS_PATH)/arm-eabi-ar |
12 RANLIB = $(TOOLS_PATH)/arm-eabi-ranlib | 11 RANLIB = $(TOOLS_PATH)/arm-eabi-ranlib |