-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
26 lines (17 loc) · 974 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
#export THEOS=/var/mobile/theos
ARCHS = arm64
#Add arm64e if it needed
DEBUG = 0
FINALPACKAGE = 1
FOR_RELEASE = 1
#THEOS_PACKAGE_SCHEME = rootless
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = @@PROJECTNAME@@
#If you want to change TWEAK_NAME just change up here. It will automatically change these below, don't need to change it by hand anymore!
$(TWEAK_NAME)_FRAMEWORKS = UIKit Foundation Security QuartzCore CoreGraphics CoreText AVFoundation Accelerate GLKit SystemConfiguration GameController
$(TWEAK_NAME)_CCFLAGS = -std=c++17 -fno-rtti -fno-exceptions -DNDEBUG
$(TWEAK_NAME)_CFLAGS = -fobjc-arc -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-value
$(TWEAK_NAME)_FILES = src/Tweak.mm src/AlertUtils.mm src/Menu/Menu.mm $(wildcard src/Includes/KittyMemory/*.cpp) $(wildcard src/Includes/KittyMemory/*.mm) $(wildcard src/Includes/SCLAlertView/*m)
$(TWEAK_NAME)_LIBRARIES += substrate
# GO_EASY_ON_ME = 1
include $(THEOS_MAKE_PATH)/tweak.mk