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