From 97568a5a83c5848f5b9fcde7f200c73a77460e21 Mon Sep 17 00:00:00 2001 From: TheRealKeto Date: Thu, 5 Aug 2021 17:06:27 -0400 Subject: Use a variable to specify the SDK - Allow users to specify an SDK path - Use a new var, TARGET_SYSROOT, to specify the SDK Signed-off-by: Cameron Katri --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ee33117..cb49dc1 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ CC ?= aarch64-apple-darwin-clang STRIP ?= aarch64-apple-darwin-strip LDID ?= ldid -CFLAGS ?= -arch arm64 -isysroot /home/cameron/Documents/SDK/iPhoneOS14.2.sdk -miphoneos-version-min=13.0 INSTALL ?= install FAKEROOT ?= fakeroot PREFIX ?= /usr +TARGET_SYSROOT ?= /home/cameron/Documents/SDK/iPhoneOS14.2.sdk +CFLAGS ?= -arch arm64 -isysroot $(TARGET_SYSROOT) -miphoneos-version-min=13.0 DEB_MAINTAINER ?= Cameron Katri DEB_ARCH ?= iphoneos-arm -- cgit v1.2.3-56-ge451