revenge-tweak/Makefile

20 lines
618 B
Makefile
Raw Normal View History

2023-04-08 00:58:58 +02:00
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
TARGET := iphone:clang:latest:15.0
else
TARGET := iphone:clang:latest:12.2
endif
2023-03-12 04:19:51 -04:00
include $(THEOS)/makefiles/common.mk
2024-03-15 08:10:25 +08:00
TWEAK_NAME = PyoncordTweak
2023-03-12 04:19:51 -04:00
2024-03-15 08:10:25 +08:00
PyoncordTweak_FILES = $(shell find Sources/PyoncordTweak -name '*.swift') $(shell find Sources/PyoncordTweakC -name '*.m' -o -name '*.c' -o -name '*.mm' -o -name '*.cpp')
PyoncordTweak_SWIFTFLAGS = -ISources/PyoncordTweakC/include
PyoncordTweak_CFLAGS = -fobjc-arc -ISources/PyoncordTweakC/include
2023-03-12 04:19:51 -04:00
2024-03-15 08:10:25 +08:00
PyoncordTweak_BUNDLE_NAME = PyoncordPatches
PyoncordTweak_BUNDLE_RESOURCE_DIRS = Resources
2023-03-12 21:23:45 -04:00
2023-03-12 04:19:51 -04:00
include $(THEOS_MAKE_PATH)/tweak.mk