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