summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPwn20wnd <pwn20wndstuff@gmail.com>2019-02-10 20:43:19 +0300
committerSam Bingner <sam@bingner.com>2019-02-10 14:38:03 -1000
commit26429b42ace55d2dc4eecba7a5a648cc49811941 (patch)
tree473ed8d0a53975e2d06d0d40dd356ab87dd508fb /Makefile
parentfd173298abf775de4275db48a2870f0fea9b6bc5 (diff)
Use the updated patchfinder64 from submodulev0.4%b2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c0b693e..a66032e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,13 @@
ARCHS ?= arm64
target ?= iphone:latest:11.0
-CFLAGS = -Iinclude
+CFLAGS = -Iinclude -Wno-error=unused-variable -Wno-error=unused-function
include $(THEOS)/makefiles/common.mk
TOOL_NAME = inject
inject_CODESIGN_FLAGS = -Sentitlements.xml
+inject_CFLAGS += -I./patchfinder64 -Wno-unused-variable -Wno-unused-function
inject_LIBRARIES = mis
inject_FRAMEWORKS = IOKit Security
-inject_FILES = main.m inject.m patchfinder64.c kern_funcs.c
+inject_FILES = main.m inject.m patchfinder64/patchfinder64.c kern_funcs.c
include $(THEOS_MAKE_PATH)/tool.mk