diff options
Diffstat (limited to 'users/drashna/rules.mk')
| -rw-r--r-- | users/drashna/rules.mk | 29 |
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 | ||
| 2 | SRC += drashna.c | 2 | SRC += drashna.c secrets.c rgb_stuff.c |
| 3 | |||
| 4 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) | ||
| 5 | SRC += tap_dances.c | ||
| 6 | endif | ||
| 7 | |||
| 3 | EXTRAFLAGS += -flto | 8 | EXTRAFLAGS += -flto |
| 4 | 9 | ||
| 5 | ifeq ($(strip $(NO_SECRETS)), yes) | 10 | ifeq ($(strip $(NO_SECRETS)), yes) |
| 6 | OPT_DEFS += -DNO_SECRETS | 11 | OPT_DEFS += -DNO_SECRETS |
| 7 | endif | 12 | endif |
| 8 | 13 | ||
| 9 | ifeq ($(strip $(INDICATOR_LIGHTS)), yes) | 14 | ifdef 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 | ||
| 24 | endif | ||
| 25 | |||
| 26 | ifeq ($(strip $(MACROS_ENABLED)), yes) | ||
| 27 | OPT_DEFS += -DMACROS_ENABLED | ||
| 28 | endif | ||
| 29 | |||
| 30 | ifdef CONSOLE_ENABLE | ||
| 31 | ifeq ($(strip $(KEYLOGGER_ENABLE)), yes) | ||
| 32 | OPT_DEFS += -DKEYLOGGER_ENABLE | ||
| 33 | endif | ||
| 11 | endif | 34 | endif |
