Add 'bootloadHID' flash target (#5587)
[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
17
18ifeq ($(strip $(LEADER_ENABLE)), yes)
19 SRC += leader.c
20endif
21
22ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
23 SRC += secrets.c
24endif
25ifeq ($(strip $(NO_SECRETS)), yes)
26 OPT_DEFS += -DNO_SECRETS
27endif
28ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
29 SRC += unicode.c
30endif
31
32ifeq ($(strip $(MACROS_ENABLED)), yes)
33 OPT_DEFS += -DMACROS_ENABLED
34endif
35
36ifdef CONSOLE_ENABLE
37 ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
38 OPT_DEFS += -DKEYLOGGER_ENABLE
39 endif
40endif
41
42ifeq ($(strip $(MAKE_BOOTLOADER)), yes)
43 OPT_DEFS += -DMAKE_BOOTLOADER
44endif