Files
Upsilon/build/toolchain.macos.mak
Romain Goyet d70bad84f3 Rename the scripts folder to build
And the build folder to output
2019-09-18 17:46:38 +02:00

15 lines
464 B
Makefile

CC = clang
CXX = clang++
LD = clang++
#ARCH = x86_64
#SDK = iphonesimulator
# ARCH = arm64
# SDK = iphoneos
SYSROOT = $(shell xcrun --sdk macosx --show-sdk-path)
SFLAGS += -fPIC -arch $(ARCH) -isysroot $(SYSROOT)
LDFLAGS += -arch $(ARCH) -isysroot $(SYSROOT)
#-framework Foundation -framework OpenGLES -framework UIKit -framework AVFoundation -framework AudioToolbox -framework QuartzCore -framework GameController -framework CoreGraphics -framework CoreMotion