forked from andrewwiik/Intelix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (26 loc) · 961 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
31
32
33
34
export ADDITIONAL_CFLAGS = -I$(THEOS_PROJECT_DIR)/headers
ifeq ($(SIMULATOR),1)
export TARGET = simulator:latest:7.0
else
export TARGET = iphone:latest:7.0
endif
ARCHS = arm64
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = Intelix
Intelix_CFLAGS = -I$(THEOS_PROJECT_DIR)/headers
Intelix_FILES = $(wildcard *.m) $(wildcard *.xm)
NCNotificationCombinedListViewController.xm_CFLAGS += -fobjc-arc
ITXNCGroupBackgroundView.m_CFLAGS += -fobjc-arc
NCNotificationChronologicalList.xm_CFLAGS += -fobjc-arc
ITXNotificationsSection.m_CFLAGS += -fobjc-arc
NCNotificationListCollectionViewFlowLayout.xm_CFLAGS += -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk
after-all::
@echo Signing Binary
@ldid -S $(THEOS_OBJ_DIR)/$(TWEAK_NAME).dylib
@echo Copying to Distribution Folder
@mkdir -p ./Distribution
@cp ./$(TWEAK_NAME).plist ./Distribution/
@cp $(THEOS_OBJ_DIR)/$(TWEAK_NAME).dylib ./Distribution/
after-install::
install.exec "killall -9 SpringBoard"