Mercurial > sdl-ios-xcode
comparison Makefile.android @ 4951:faad280e3280
Fixes the following warning:
uses variable-size enums yet the output is to use 32-bit enums
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 04 Jan 2011 11:22:43 -0800 |
parents | bd009a923441 |
children | 361ada59e3aa |
comparison
equal
deleted
inserted
replaced
4950:2ac33eaa8a31 | 4951:faad280e3280 |
---|---|
3 include ./android/config.cfg #get ANDROID_NDK | 3 include ./android/config.cfg #get ANDROID_NDK |
4 | 4 |
5 TOOLS_PATH=$(ANDROID_NDK)/toolchains/arm-eabi-4.4.0/prebuilt/darwin-x86/bin | 5 TOOLS_PATH=$(ANDROID_NDK)/toolchains/arm-eabi-4.4.0/prebuilt/darwin-x86/bin |
6 ANDROID_INCLUDES = -I$(ANDROID_NDK)/platforms/android-4/arch-arm/usr/include | 6 ANDROID_INCLUDES = -I$(ANDROID_NDK)/platforms/android-4/arch-arm/usr/include |
7 INCLUDE = -I./include | 7 INCLUDE = -I./include |
8 CFLAGS = -g -O2 $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static | 8 CFLAGS = -g -O2 -fno-short-enums $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static |
9 | 9 |
10 AR = $(TOOLS_PATH)/arm-eabi-ar | 10 AR = $(TOOLS_PATH)/arm-eabi-ar |
11 RANLIB = $(TOOLS_PATH)/arm-eabi-ranlib | 11 RANLIB = $(TOOLS_PATH)/arm-eabi-ranlib |
12 CC = $(TOOLS_PATH)/arm-eabi-gcc | 12 CC = $(TOOLS_PATH)/arm-eabi-gcc |
13 | 13 |