[Keymap] Update to userspace kuchosauroand0 (#6596)
[jackhill/qmk/firmware.git] / users / kuchosauronad0 / rules.mk
CommitLineData
683605a9 1SRC += kuchosauronad0.c \
2 process_records.c
3
4LINK_TIME_OPTIMIZATION_ENABLE = yes
5
6#ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
7# SRC += secrets.c
8#endif
9
10ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
11 SRC += tap_dances.c
12endif
13
14ifeq ($(strip $(ENCODER_ENABLE)), yes)
15 SRC += encoder.c
16endif
2ef6bbbf 17ifeq ($(strip $(COMBO_ENABLE)), yes)
18 SRC += combo.c
19endif
683605a9 20
21ifeq ($(strip $(LEADER_ENABLE)), yes)
22 SRC += leader.c
23endif
24
25ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
26 SRC += secrets.c
27endif
28ifeq ($(strip $(NO_SECRETS)), yes)
29 OPT_DEFS += -DNO_SECRETS
30endif
31ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
32 SRC += unicode.c
33endif
34
35ifeq ($(strip $(MACROS_ENABLED)), yes)
36 OPT_DEFS += -DMACROS_ENABLED
37endif
38
39ifdef CONSOLE_ENABLE
40 ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
41 OPT_DEFS += -DKEYLOGGER_ENABLE
42 endif
43endif
44
45ifeq ($(strip $(MAKE_BOOTLOADER)), yes)
46 OPT_DEFS += -DMAKE_BOOTLOADER
47endif