aboutsummaryrefslogtreecommitdiff
path: root/users/bocaj/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/bocaj/rules.mk')
-rw-r--r--users/bocaj/rules.mk43
1 files changed, 18 insertions, 25 deletions
diff --git a/users/bocaj/rules.mk b/users/bocaj/rules.mk
index 9ed8c250a..a0e7e93bc 100644
--- a/users/bocaj/rules.mk
+++ b/users/bocaj/rules.mk
@@ -1,33 +1,26 @@
1SRC += bocaj.c \ 1SRC += bocaj.c \
2 process_records.c 2 process_records.c
3 3
4ifneq ("$(wildcard $(USER_PATH)/secrets.c)","") 4LEADER_ENABLE = yes
5 SRC += secrets.c 5MOUSEKEY_ENABLE = yes
6endif 6EXTRAKEY_ENABLE = yes
7 7
8ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) 8ifneq ($(PLATFORM),CHIBIOS)
9 SRC += tap_dances.c 9 LTO_ENABLE = yes
10endif 10endif
11 11SPACE_CADET_ENABLE = no
12# Caused problems when building via docker on Mac OS 12GRAVE_ESC_ENABLE = no
13# EXTRAFLAGS += -flto 13
14 14ifneq ($(strip $(NO_SECRETS)), yes)
15ifeq ($(strip $(NO_SECRETS)), yes) 15 ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
16 OPT_DEFS += -DNO_SECRETS 16 SRC += secrets.c
17endif 17 endif
18 18 ifeq ($(strip $(NO_SECRETS)), lite)
19ifeq ($(strip $(MACROS_ENABLED)), yes) 19 OPT_DEFS += -DNO_SECRETS
20 OPT_DEFS += -DMACROS_ENABLED 20 endif
21endif
22
23ifeq ($(strip $(UCIS_ENABLE)), yes)
24 SRC += send_unicode.c
25endif
26
27ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
28 SRC += send_unicode.c
29endif 21endif
30 22
31ifeq ($(strip $(UNICODE_ENABLE)), yes) 23RGB_MATRIX_ENABLE ?= no
32 SRC += send_unicode.c 24ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
25 SRC += rgb_matrix_stuff.c
33endif 26endif