diff --git a/keyboards/crkbd/keymaps/christoph-cullmann/rules.mk b/keyboards/crkbd/keymaps/christoph-cullmann/rules.mk index 9d1b049..0120620 100644 --- a/keyboards/crkbd/keymaps/christoph-cullmann/rules.mk +++ b/keyboards/crkbd/keymaps/christoph-cullmann/rules.mk @@ -1,3 +1,6 @@ +# set flags we check in common settings +OLED_ENABLE = yes + # include common settings ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) include ${ROOT_DIR}../../../../rules.mk diff --git a/rules.mk b/rules.mk index 2688f80..414e0a5 100644 --- a/rules.mk +++ b/rules.mk @@ -13,9 +13,11 @@ SPACE_CADET_ENABLE = no # add achordion to improve home row modifiers SRC += features/achordion.c -# add bongocat & luna for OLED -SRC += features/oled_bongocat.c -SRC += features/oled_luna.c +# add bongocat & luna for OLEDs +ifeq ($(strip $(OLED_ENABLE)), yes) + SRC += features/oled_bongocat.c + SRC += features/oled_luna.c +endif # good optimizations LTO_ENABLE = yes