keychron_qmk_firmware/users/stanrc85/rules.mk

49 lines
1.1 KiB
Makefile
Raw Normal View History

TAP_DANCE_ENABLE = yes
EXTRAKEY_ENABLE = yes
BACKLIGHT_ENABLE = no
COMMAND_ENABLE = no
MOUSEKEY_ENABLE = no
AUDIO_ENABLE = no
CONSOLE_ENABLE = no
NKRO_ENABLE = yes
LTO_ENABLE = yes
VIA_ENABLE = yes
SRC += stanrc85.c
ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2)
SRC += rgblight_layers.c
SRC += startup_fanfare.c
OPT_DEFS += -DHAS_INDICATORS
VELOCIKEY_ENABLE=yes
endif
ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone)
SRC += indicator_layers_sneakbox.c
SRC += startup_fanfare.c
OPT_DEFS += -DHAS_INDICATORS
OPT_DEFS += -DHAS_ROTARY
endif
ifeq ($(strip $(KEYBOARD)), tkc/osav2)
SRC += rgblight_layers_osa.c
VELOCIKEY_ENABLE=yes
endif
ifeq ($(strip $(KEYBOARD)), boardsource/the_mark)
RGB_MATRIX_ENABLE = yes
RGBLIGHT_ENABLE = no
2021-06-20 13:49:49 +06:00
endif
ifeq ($(strip $(KEYBOARD)), jacky_studio/bear_65)
BACKLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = yes
RGBLIGHT_ENABLE = no
2021-09-14 02:15:10 +06:00
SRC += rgb_layers.c
2021-06-20 13:49:49 +06:00
endif
ifeq ($(strip $(KEYBOARD)), tkc/portico)
SRC += rgb_timeout.c
endif
ifeq ($(strip $(KEYBOARD)), kiwikey/wanderland)
SRC += rgb_timeout.c
endif
2021-09-14 02:15:10 +06:00
ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/rgb_led/rev2)
SRC += rgb_layers.c
endif