aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts/os_osx.mk
blob: ea43b198ba3be88519e5b06d29f713e3c29d2acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# This file is subject to the terms of the GFX License. If a copy of
# the license was not distributed with this file, you can obtain one at:
#
#             http://ugfx.io/license.html
#

# See readme.txt for the make API

# Requirements:
#
# OSX_SDK	The location of the SDK eg. OSX_SDK  = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
# OSX_ARCH	The architecture flags eg.  OSX_ARCH = -mmacosx-version-min=10.12
#

SRCFLAGS	+= -isysroot $(OSX_SDK) $(OSX_ARCH)
LDFLAGS		+= -pthread -Wl,-syslibroot,$(OSX_SDK) $(OSX_ARCH)
OPT_CPU = x64