diff options
Diffstat (limited to 'users/drashna/rules.mk')
| -rw-r--r-- | users/drashna/rules.mk | 13 |
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 \ | |||
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes |
| 5 | SPACE_CADET_ENABLE = no | 5 | SPACE_CADET_ENABLE = no |
| 6 | 6 | ||
| 7 | ifneq ("$(wildcard $(USER_PATH)/secrets.c)","") | 7 | ifneq ($(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 | ||
| 9 | endif | 14 | endif |
| 10 | 15 | ||
| 11 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) | 16 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) |
| @@ -14,9 +19,7 @@ endif | |||
| 14 | 19 | ||
| 15 | 20 | ||
| 16 | 21 | ||
| 17 | ifeq ($(strip $(NO_SECRETS)), yes) | 22 | |
| 18 | OPT_DEFS += -DNO_SECRETS | ||
| 19 | endif | ||
| 20 | 23 | ||
| 21 | ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) | 24 | ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) |
| 22 | SRC += rgb_stuff.c | 25 | SRC += rgb_stuff.c |
