qmk/rules.mk
2024-11-09 17:30:16 +01:00

21 lines
397 B
Makefile

# Enable N-Key Rollover
NKRO_ENABLE = yes
# less features we don't use
COMMAND_ENABLE = no
CONSOLE_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
MOUSEKEY_ENABLE = no
MUSIC_ENABLE = no
SPACE_CADET_ENABLE = no
# 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