-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrules.mk
36 lines (28 loc) · 787 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
33
34
35
36
# LTO = link time optimization, reduces size
LTO_ENABLE = yes
# Overriding keys to produce another keycode
# Need this for my parenthesis/braces/hooks config
KEY_OVERRIDE_ENABLE = yes
# Automatically used shifted keycode on hold, timeout in config.h
AUTO_SHIFT_ENABLE = yes
# Allow recording macros (2 keys currently)
DYNAMIC_MACRO_ENABLE = yes
CONSOLE_ENABLE = no
COMMAND_ENABLE = no
MOUSEKEY_ENABLE = no
EXTRAKEY_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
ifeq ($(strip $(LEADER_ENABLE)), yes)
SRC += src/leader.c
endif
ifeq ($(strip $(KEY_OVERRIDE_ENABLE)), yes)
SRC += src/override.c
endif
ifeq ($(strip $(AUTO_SHIFT_ENABLE)), yes)
SRC += src/autoshift.c
endif
ifeq ($(strip $(DYNAMIC_MACRO_ENABLE)), yes)
SRC += src/macro.c
endif