forked from pwnless/AutoFLEX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (16 loc) · 780 Bytes
/
Makefile
File metadata and controls
22 lines (16 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FINALPACKAGE=1
# INSTALL_TARGET_PROCESSES = SpringBoard
ARCHS = arm64
# THEOS_PACKAGE_SCHEME=roothide
TARGET = iphone:clang:latest:15.0
include $(THEOS)/makefiles/common.mk
TARGET_CC = xcrun -sdk iphoneos clang
TARGET_CXX = xcrun -sdk iphoneos clang++
TARGET_LD = xcrun -sdk iphoneos clang++
TWEAK_NAME = autoflex
FLEX_FILES := $(shell find src -type f -name "*.m" -o -name "*.mm" -o -name "*.c")
autoflex_FILES = Tweak.x $(FLEX_FILES)
autoflex_CFLAGS = -Isrc -fobjc-arc -Wno-deprecated-declarations -Wno-strict-prototypes -Wno-unsupported-availability-guard -Wno-unused-but-set-variable
autoflex_FRAMEWORKS = UIKit CoreGraphics QuartzCore ImageIO WebKit Security SceneKit AVFoundation UserNotifications
autoflex_LDFLAGS += -lz -lsqlite3
include $(THEOS_MAKE_PATH)/tweak.mk