aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts/os_osx.mk
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-10-01 00:44:40 +1000
committerinmarket <andrewh@inmarket.com.au>2014-10-01 00:45:02 +1000
commitf90ea57bff091832c7b52b3825057ac20ded1f01 (patch)
tree83d8e0e8b9917584e7f216470cd0fb8efa1a975e /tools/gmake_scripts/os_osx.mk
parentb1b00b1cc9780db403bba2f21837fef20b9d8e8c (diff)
downloaduGFX-f90ea57bff091832c7b52b3825057ac20ded1f01.tar.gz
uGFX-f90ea57bff091832c7b52b3825057ac20ded1f01.tar.bz2
uGFX-f90ea57bff091832c7b52b3825057ac20ded1f01.zip
First ARM build to use the new makefile plus makefile updates
Diffstat (limited to 'tools/gmake_scripts/os_osx.mk')
-rw-r--r--tools/gmake_scripts/os_osx.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/gmake_scripts/os_osx.mk b/tools/gmake_scripts/os_osx.mk
new file mode 100644
index 00000000..8b008f4b
--- /dev/null
+++ b/tools/gmake_scripts/os_osx.mk
@@ -0,0 +1,10 @@
+# See readme.txt for the make API
+
+# Requirements:
+#
+# OSX_SDK The location of the SDK eg. OSX_SDK = /Developer/SDKs/MacOSX10.7.sdk
+# OSX_ARCH The architecture flags eg. OSX_ARCH = -mmacosx-version-min=10.3 -arch i386
+#
+
+SRCFLAGS += -isysroot $(OSX_SDK) $(OSX_ARCH)
+LDFLAGS += -pthread -Wl,-syslibroot,$(OSX_SDK) $(OSX_ARCH)