Mercurial > sdl-ios-xcode
comparison Makefile.android @ 4955:361ada59e3aa
Change from jlunder:
Minor configuration changes to smooth the build process, make it work on mac.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 04 Jan 2011 12:46:49 -0800 |
parents | faad280e3280 |
children | 0ab2492f2e17 |
comparison
equal
deleted
inserted
replaced
4954:144d9df7e611 | 4955:361ada59e3aa |
---|---|
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, ANDROID_NDK_HOST |
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/$(ANDROID_NDK_HOST)/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 -fno-short-enums $(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 |