revenge-tweak/Makefile
2023-04-08 00:58:58 +02:00

19 lines
656 B
Makefile

ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
TARGET := iphone:clang:latest:15.0
else
TARGET := iphone:clang:latest:12.2
endif
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = VendettaTweak
VendettaTweak_FILES = $(shell find Sources/VendettaTweak -name '*.swift') $(shell find Sources/VendettaTweakC -name '*.m' -o -name '*.c' -o -name '*.mm' -o -name '*.cpp')
VendettaTweak_SWIFTFLAGS = -ISources/VendettaTweakC/include
VendettaTweak_CFLAGS = -fobjc-arc -ISources/VendettaTweakC/include
VendettaTweak_BUNDLE_NAME = VendettaPatches
VendettaTweak_BUNDLE_RESOURCE_DIRS = VendettaXposed/App/src/main/assets/js Resources
include $(THEOS_MAKE_PATH)/tweak.mk