diff options
Diffstat (limited to 'users/konstantin/rules.mk')
-rw-r--r-- | users/konstantin/rules.mk | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/users/konstantin/rules.mk b/users/konstantin/rules.mk index d2522b9523..6bda030fb0 100644 --- a/users/konstantin/rules.mk +++ b/users/konstantin/rules.mk @@ -1,15 +1,12 @@ -BOOTMAGIC_ENABLE = no -COMMAND_ENABLE = yes -CONSOLE_ENABLE = yes -EXTRAKEY_ENABLE = yes -MOUSEKEY_ENABLE = yes -NKRO_ENABLE = yes -TAP_DANCE_ENABLE = yes -UNICODE_ENABLE = yes - SRC += konstantin.c +ifneq (,$(filter yes,$(RGBLIGHT_ENABLE) $(RGB_MATRIX_ENABLE))) # if either is yes + SRC += rgb.c +endif ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) SRC += tap_dance.c endif +ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE))) # if either is yes + SRC += unicode.c +endif EXTRAFLAGS += -flto |