-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathrules.mk
32 lines (29 loc) · 933 Bytes
/
rules.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Automatically update the keymap visualization when compiling
# The '-' in front of keymapviz is used to ignore errors spewed by keymapviz.
KEYMAP_FOLDER = keyboards/handwired/dactyl_manuform/5x6/keymaps/precondition
.PHONY: %
%:
-keymapviz -k dactyl_manuform5x6 -t ascii -r $(KEYMAP_FOLDER)/keymap.c -c $(KEYMAP_FOLDER)/visualisation/keymapviz/keymapviz.ini > /dev/null
CONSOLE_ENABLE = yes
MOUSEKEY_ENABLE = yes
TAP_DANCE_ENABLE = yes
COMBO_ENABLE = yes
NKRO_ENABLE = no
STENO_ENABLE = yes
STENO_PROTOCOL = geminipr
SWAP_HANDS_ENABLE = yes
# Space savings
LTO_ENABLE = yes
COMMAND_ENABLE = no
KEY_LOCK_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
# Load the necessary external C files if and only if
# the associated config option has been enabled
ifeq ($(strip $(COMBO_ENABLE)), yes)
INTROSPECTION_KEYMAP_C += combos.c
endif
ifeq ($(strip $(SWAP_HANDS_ENABLE)), yes)
SRC += swap_hand.c
endif