qmk_keymaps/keyboards/crkbd/keymaps/sajenim/rules.mk

42 lines
832 B
Makefile
Raw Normal View History

2024-02-05 11:06:05 +08:00
# We are using a Splinky RP2040 as a drop-in pro-micro replacement
2023-01-16 23:02:14 +08:00
CONVERT_TO = promicro_rp2040
BOOTLOADER = rp2040
2024-02-05 11:06:05 +08:00
# Reduce compiled size of firmware
2023-01-16 23:02:14 +08:00
LTO_ENABLE = yes
2023-02-19 17:51:22 +08:00
2024-02-05 11:06:05 +08:00
# Software features
AUTOCORRECT_ENABLE = yes
AUTO_SHIFT_ENABLE = yes
CAPS_WORD_ENABLE = yes
COMBO_ENABLE = yes
DYNAMIC_MACRO_ENABLE = yes
LEADER_ENABLE = yes
MOUSEKEY_ENABLE = yes
OLED_ENABLE = yes
REPEAT_KEY_ENABLE = yes
RGBLIGHT_ENABLE = yes
2023-01-16 23:02:14 +08:00
2024-02-05 11:06:05 +08:00
# Feature libraries
2023-03-30 12:41:27 +08:00
SRC += features/sentence_case.c
2023-02-19 17:51:22 +08:00
2024-02-05 11:06:05 +08:00
# Behaviour of our custom keycodes
SRC += process_record.c
# Oled display configuration
2023-02-19 17:51:22 +08:00
ifeq ($(OLED_ENABLE),yes)
SRC += ./oled.c
2023-09-29 07:25:32 +08:00
OLED_DRIVER = ssd1306
2023-03-30 12:41:27 +08:00
WPM_ENABLE = yes
2023-02-19 17:51:22 +08:00
endif
2024-02-05 11:06:05 +08:00
# Combo dictionary
2023-02-19 17:51:22 +08:00
ifeq ($(COMBO_ENABLE),yes)
VPATH += keyboards/gboards
endif
2024-02-05 11:05:49 +08:00
# Leader key dictionary
ifeq ($(LEADER_ENABLE),yes)
SRC += ./leader.c
endif