1#define TARGET_IPHONE
2#define TARGET_IPHONE_DEV
3#define ARM
4
5// pathes according to http://code.google.com/p/iphone-dev/wiki/Building
6
7#define CC /usr/local/bin/arm-apple-darwin-gcc
8#define CXX /usr/local/bin/arm-apple-darwin-gcc
9#define AR /usr/local/bin/arm-apple-darwin-ar
10#define LD /usr/local/bin/arm-apple-darwin-gcc
11#define STRIP /usr/local/bin/arm-apple-darwin-strip
12
13PLATFORMLIB = osx_arm
14SVNDIR = osx_iphone_dev
15SDK_PATH = /usr/local/arm-apple-darwin
16//SYSLIB_ROOT = /usr/local/arm-apple-darwin/heavenly
17//SYSLIB_ROOT = /usr/local/share/iphone-filesystem
18
19CCFLAGS=%(CCFLAGS) -DTARGET_IPHONE -DTARGET_IPHONE_DEV -DARM -arch arm -mdynamic-no-pic
20
21#include "gcc_osx.inc"
22