aboutsummaryrefslogtreecommitdiff
path: root/users/yet-another-developer/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/yet-another-developer/rules.mk')
-rw-r--r--users/yet-another-developer/rules.mk50
1 files changed, 50 insertions, 0 deletions
diff --git a/users/yet-another-developer/rules.mk b/users/yet-another-developer/rules.mk
new file mode 100644
index 000000000..597df6d0b
--- /dev/null
+++ b/users/yet-another-developer/rules.mk
@@ -0,0 +1,50 @@
1SRC += yet-another-developer.c \
2 process_records.c
3
4LINK_TIME_OPTIMIZATION_ENABLE = yes
5SPACE_CADET_ENABLE = no
6
7ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
8 SRC += tap_dances.c
9endif
10
11ifeq ($(strip $(COMBO_ENABLE)), yes)
12 SRC += combo.c
13endif
14
15
16ifeq ($(strip $(LEADER_ENABLE)), yes)
17 SRC += leader.c
18endif
19
20
21ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
22 SRC += secrets.c
23endif
24
25
26ifeq ($(strip $(NO_SECRETS)), yes)
27 OPT_DEFS += -DNO_SECRETS
28endif
29
30
31ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
32 SRC += unicode.c
33endif
34
35
36ifeq ($(strip $(MACROS_ENABLED)), yes)
37 OPT_DEFS += -DMACROS_ENABLED
38endif
39
40
41ifdef CONSOLE_ENABLE
42 ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
43 OPT_DEFS += -DKEYLOGGER_ENABLE
44 endif
45endif
46
47
48ifeq ($(strip $(MAKE_BOOTLOADER)), yes)
49 OPT_DEFS += -DMAKE_BOOTLOADER
50endif