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