forked from opa334/libSandy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (23 loc) · 755 Bytes
/
Makefile
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
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
TARGET := iphone:clang:16.5:15.0
else ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
TARGET := iphone:clang:16.5:15.0
else
TARGET := iphone:clang:14.5:8.0
endif
include $(THEOS)/makefiles/common.mk
LIBRARY_NAME = libsandy
libsandy_FILES = libSandy.m
libsandy_CFLAGS = -fobjc-arc -Iheaders
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
libsandy_LDFLAGS += -install_name @rpath/libsandy.dylib
else ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
libsandy_LDFLAGS += -install_name @loader_path/.jbroot/libsandy.dylib
else
libsandy_CFLAGS += -D XINA_SUPPORT=1
endif
libsandy_INSTALL_PATH = /usr/lib
libsandy_PUBLIC_HEADERS = libSandy.h
include $(THEOS_MAKE_PATH)/library.mk
SUBPROJECTS += sandyd
include $(THEOS_MAKE_PATH)/aggregate.mk