-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
28 lines (24 loc) · 852 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
28
PACKAGE_VERSION = 1.6.0
ifeq ($(SIMULATOR),1)
TARGET = simulator:clang:latest:8.0
ARCHS = x86_64 i386
else
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
TARGET = iphone:clang:latest:14.0
ARCHS = arm64 arm64e
else
TARGET = iphone:clang:latest:5.0
endif
endif
include $(THEOS)/makefiles/common.mk
LIBRARY_NAME = libEmojiLibrary
$(LIBRARY_NAME)_FILES = PSEmojiUtilities.m PSEmojiUtilities+Emoji.m PSEmojiUtilities+Functions.m
$(LIBRARY_NAME)_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/library.mk
# make setup SIMULATOR=1 PL_SIMULATOR_VERSION=<target-iOS-version>
ifeq ($(SIMULATOR),1)
include ../../preferenceloader-sim/locatesim.mk
setup:: clean all
@sudo rm -f $(PL_SIMULATOR_ROOT)/usr/lib/$(LIBRARY_NAME).dylib
@sudo cp -v $(THEOS_OBJ_DIR)/$(LIBRARY_NAME).dylib $(PL_SIMULATOR_ROOT)/usr/lib/
endif