forked from Sileo/Sileo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (22 loc) · 798 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
INSTALL_TARGET_PROCESSES = Sileo
ARCHS = arm64
include $(THEOS)/makefiles/common.mk
XCODEPROJ_NAME = Sileo
Sileo_CODESIGN_FLAGS = -Sent.plist
include $(THEOS_MAKE_PATH)/xcodeproj.mk
giveMeRoot/bin/giveMeRoot: giveMeRoot/giveMeRoot.c
$(MAKE) -C giveMeRoot
all:: giveMeRoot/bin/giveMeRoot
before-all::
ifeq ($(wildcard Pods),)
$(error Please install CocoaPods and then run 'pod install')
endif
@git submodule update --init --recursive
internal-stage::
mkdir -p $(THEOS_STAGING_DIR)/Applications/Sileo.app
cp giveMeRoot/bin/giveMeRoot $(THEOS_STAGING_DIR)/Applications/Sileo.app/
$(FAKEROOT) chmod 4755 $(THEOS_STAGING_DIR)/Applications/Sileo.app/giveMeRoot
internal-clean::
$(MAKE) -C giveMeRoot clean
after-install::
install.exec 'uicache -p /Applications/Sileo.app; uiopen sileo:'