X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=users%2Fkonstantin%2Frules.mk;h=bf0ab979fb3043885d648459cba2a4d1c28a11de;hb=8af3fe0c7dfce74477f86be19711c7ec4a70ccb2;hp=8913e575586aa282efd13299f4938190b83dd38d;hpb=2f07627a5dd38ab1370804f4feb1972250928803;p=qmk_firmware.git diff --git a/users/konstantin/rules.mk b/users/konstantin/rules.mk index 8913e5755..bf0ab979f 100644 --- a/users/konstantin/rules.mk +++ b/users/konstantin/rules.mk @@ -1,9 +1,16 @@ SRC += konstantin.c -ifneq (,$(filter yes,$(RGBLIGHT_ENABLE) $(RGB_MATRIX_ENABLE))) # if either is yes - SRC += rgb.c +ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) + SRC += rgb.c +endif +RGB_MATRIX_ENABLE ?= no +ifneq ($(strip $(RGB_MATRIX_ENABLE)), no) + SRC += rgb.c endif ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) - SRC += tap_dance.c + SRC += tap_dance.c +endif +ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE))) + SRC += unicode.c endif EXTRAFLAGS += -flto