forked from conradev/jetsamctl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 653 Bytes
/
Makefile
File metadata and controls
22 lines (17 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ARCHS=arm64
TARGET = iphone:clang:16.5:14
include $(THEOS)/makefiles/common.mk
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
PACKAGE_BUILDNAME := rootless
else
PACKAGE_BUILDNAME := rootful
endif
TOOL_NAME = jetsamctl
jetsamctl_CFLAGS = -Wall -Wpedantic -Wextra -Wno-import-preprocessor-directive-pedantic
jetsamctl_FILES = main.c
include $(THEOS_MAKE_PATH)/tool.mk
before-all::
@if [ ! -f "$(THEOS_INCLUDE_PATH)/sys/kern_memorystatus.h" ]; then \
mkdir -p "$(THEOS_INCLUDE_PATH)/sys"; \
curl -s -o "$(THEOS_INCLUDE_PATH)/sys/kern_memorystatus.h" -L "http://www.opensource.apple.com/source/xnu/xnu-2782.1.97/bsd/sys/kern_memorystatus.h?txt"; \
fi