forked from OwnGoalStudio/NoRedirect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
51 lines (38 loc) · 1.05 KB
/
Makefile
File metadata and controls
51 lines (38 loc) · 1.05 KB
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
43
44
45
46
47
48
49
50
51
export PACKAGE_VERSION := 1.10
ifeq ($(THEOS_DEVICE_SIMULATOR),1)
TARGET := simulator:clang:latest:14.0
INSTALL_TARGET_PROCESSES := SpringBoard SafariViewService
ARCHS := arm64 x86_64
else
TARGET := iphone:clang:latest:14.0
INSTALL_TARGET_PROCESSES := SpringBoard SafariViewService
ARCHS := arm64 arm64e
endif
GO_EASY_ON_ME := 1
include $(THEOS)/makefiles/common.mk
SUBPROJECTS += NoRedirectPrefs
include $(THEOS_MAKE_PATH)/aggregate.mk
TWEAK_NAME := NoRedirect
NoRedirect_FILES += NoRedirect.xm
NoRedirect_FILES += NoRedirectRecord.m
ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
NoRedirect_FILES += libroot/dyn.c
endif
NoRedirect_CFLAGS += -fobjc-arc
NoRedirect_CFLAGS += -IHeaders
ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
NoRedirect_LDFLAGS += -LLibraries/_roothide
else
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
NoRedirect_LDFLAGS += -LLibraries/_rootless
else
NoRedirect_LDFLAGS += -LLibraries
endif
endif
ifeq ($(THEOS_DEVICE_SIMULATOR),)
NoRedirect_LIBRARIES += sandy
endif
include $(THEOS_MAKE_PATH)/tweak.mk
export THEOS_OBJ_DIR
after-all::
@devkit/sim-install.sh