]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/drashna/rules.mk
Merge branch 'master' of github.com:qmk/qmk_firmware into hf/shinydox
[qmk_firmware.git] / users / drashna / rules.mk
1
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
8 EXTRAFLAGS        += -flto
9
10 ifeq ($(strip $(NO_SECRETS)), yes)
11     OPT_DEFS += -DNO_SECRETS
12 endif
13
14 ifdef RGBLIGHT_ENABLE
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
34 endif