aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/rules.mk')
-rw-r--r--users/drashna/rules.mk29
1 files changed, 26 insertions, 3 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk
index e2c5a2995..18df665c0 100644
--- a/users/drashna/rules.mk
+++ b/users/drashna/rules.mk
@@ -1,11 +1,34 @@
1 1
2SRC += drashna.c 2SRC += drashna.c secrets.c rgb_stuff.c
3
4ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
5 SRC += tap_dances.c
6endif
7
3EXTRAFLAGS += -flto 8EXTRAFLAGS += -flto
4 9
5ifeq ($(strip $(NO_SECRETS)), yes) 10ifeq ($(strip $(NO_SECRETS)), yes)
6 OPT_DEFS += -DNO_SECRETS 11 OPT_DEFS += -DNO_SECRETS
7endif 12endif
8 13
9ifeq ($(strip $(INDICATOR_LIGHTS)), yes) 14ifdef RGBLIGHT_ENABLE
10 OPT_DEFS += -DINDICATOR_LIGHTS 15 ifeq ($(strip $(INDICATOR_LIGHTS)), yes)
16 OPT_DEFS += -DINDICATOR_LIGHTS
17 endif
18 ifeq ($(strip $(RGBLIGHT_TWINKLE)), yes)
19 OPT_DEFS += -DRGBLIGHT_TWINKLE
20 endif
21 ifeq ($(strip $(RGBLIGHT_NOEEPROM)), yes)
22 OPT_DEFS += -DRGBLIGHT_NOEEPROM
23 endif
24endif
25
26ifeq ($(strip $(MACROS_ENABLED)), yes)
27 OPT_DEFS += -DMACROS_ENABLED
28endif
29
30ifdef CONSOLE_ENABLE
31 ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
32 OPT_DEFS += -DKEYLOGGER_ENABLE
33 endif
11endif 34endif