forked from NSExceptional/FLEXing
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
29 lines (23 loc) · 748 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ifeq ($(SIMULATOR),1)
export ARCHS = arm64 x86_64
export TARGET = simulator:clang::15.0
else
export THEOS_PACKAGE_SCHEME = rootless
export ARCHS = arm64 arm64e
export TARGET = iphone:latest:15.0
endif
INSTALL_TARGET_PROCESSES = SpringBoard
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = FLEXing
$(TWEAK_NAME)_GENERATOR = internal
$(TWEAK_NAME)_FILES = Tweak.xm SpringBoard.xm
$(TWEAK_NAME)_CFLAGS += -fobjc-arc -w
include $(THEOS_MAKE_PATH)/tweak.mk
before-stage::
find . -name ".DS_Store" -delete
# For printing variables from the makefile
print-% : ; @echo $* = $($*)
# The SUBPROJECTS feature bundles both projects into
# one package. We want two separate packages.
SUBPROJECTS += libflex
include $(THEOS_MAKE_PATH)/aggregate.mk