forked from tien0246/ProtectedApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (29 loc) · 859 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
30
31
32
33
34
35
36
37
38
39
40
41
42
ARCHS = arm64 arm64e
DEBUG = 0
FINALPACKAGE = 1
FOR_RELEASE = 1
IGNORE_WARNINGS = 1
GO_EASY_ON_ME = 1
# THEOS_DEVICE_IP = 127.0.0.1
# THEOS_DEVICE_PORT = 2222
THEOS_DEVICE_IP = 192.168.1.5
THEOS_DEVICE_PORT = 22
TARGET := iphone:clang:latest:14.0
# INSTALL_TARGET_PROCESSES = Messenger
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
THEOS_PACKAGE_DIR = packages/rootless
else
THEOS_PACKAGE_DIR = packages/rootful
endif
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = ProtectedApp
$(TWEAK_NAME)_CFLAGS = -fobjc-arc -fvisibility=hidden
$(TWEAK_NAME)_CCFLAGS = -std=c++11 -fno-rtti -fno-exceptions -DNDEBUG -fno-objc-arc -O2
${TWEAK_NAME}_FILES = Tweak.xm
${TWEAK_NAME}_CFLAGS = -fobjc-arc
$(TWEAK_NAME)_FRAMEWORKS = UIKit Foundation
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec "killall -9 Messenger"
clean::
rm -rf .theos