-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
30 lines (24 loc) · 924 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
29
30
TARGET := iphone:clang:latest:11.0
INSTALL_TARGET_PROCESSES = TrollLEDs
ARCHS = arm64
PACKAGE_VERSION = 1.8.0
include $(THEOS)/makefiles/common.mk
APPLICATION_NAME = TrollLEDs
ifeq ($(UNSANDBOX),1)
IPA_NAME = $(APPLICATION_NAME)-unsandboxed
else
IPA_NAME = $(APPLICATION_NAME)
endif
$(APPLICATION_NAME)_FILES = main.m TLDeviceManager.m TLSceneDelegate.m TLAppDelegate.m TLRootViewController.m Intents.swift ShortcutsProvider.swift
$(APPLICATION_NAME)_FRAMEWORKS = UIKit CoreGraphics CoreMedia
$(APPLICATION_NAME)_CFLAGS = -fobjc-arc
ifeq ($(UNSANDBOX),1)
$(APPLICATION_NAME)_CODESIGN_FLAGS = -Sentitlements-unsandboxed.plist
else
$(APPLICATION_NAME)_CODESIGN_FLAGS = -Sentitlements.plist
endif
include $(THEOS_MAKE_PATH)/application.mk
ifeq ($(PACKAGE_FORMAT),ipa)
after-package::
cp $(THEOS_PROJECT_DIR)/$(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_NAME)_$(PACKAGE_VERSION).ipa $(THEOS_PROJECT_DIR)/$(IPA_NAME).tipa
endif