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.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk
index 7b77a51d9..1b5a86385 100644
--- a/users/drashna/rules.mk
+++ b/users/drashna/rules.mk
@@ -4,8 +4,13 @@ SRC += drashna.c \
4LINK_TIME_OPTIMIZATION_ENABLE = yes 4LINK_TIME_OPTIMIZATION_ENABLE = yes
5SPACE_CADET_ENABLE = no 5SPACE_CADET_ENABLE = no
6 6
7ifneq ("$(wildcard $(USER_PATH)/secrets.c)","") 7ifneq ($(strip $(NO_SECRETS)), yes)
8 SRC += secrets.c 8 ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
9 SRC += secrets.c
10 endif
11 ifeq ($(strip $(NO_SECRETS)), lite)
12 OPT_DEFS += -DNO_SECRETS
13 endif
9endif 14endif
10 15
11ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) 16ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
@@ -14,9 +19,7 @@ endif
14 19
15 20
16 21
17ifeq ($(strip $(NO_SECRETS)), yes) 22
18 OPT_DEFS += -DNO_SECRETS
19endif
20 23
21ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) 24ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
22 SRC += rgb_stuff.c 25 SRC += rgb_stuff.c