aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTheRealKeto <therealketo@gmail.com>2021-08-05 17:06:27 -0400
committerCameron Katri <me@cameronkatri.com>2021-08-06 08:39:09 -0400
commit97568a5a83c5848f5b9fcde7f200c73a77460e21 (patch)
treec271219f6f679973b277999a5cc4a020e34d3b31 /Makefile
parentedabcc1929c4cc0ddc5bb013d2204d0f75123621 (diff)
downloadsnaprestore-97568a5a83c5848f5b9fcde7f200c73a77460e21.tar.gz
snaprestore-97568a5a83c5848f5b9fcde7f200c73a77460e21.tar.zst
snaprestore-97568a5a83c5848f5b9fcde7f200c73a77460e21.zip
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 <me@cameronkatri.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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 <me@cameronkatri.com>
DEB_ARCH ?= iphoneos-arm