]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/drashna/rules.mk
[Keymap] Add keymap nomu30 likejijs (#5917)
[qmk_firmware.git] / users / drashna / rules.mk
1 SRC += drashna.c \
2        process_records.c
3
4 LINK_TIME_OPTIMIZATION_ENABLE = yes
5
6 ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
7     SRC += secrets.c
8 endif
9
10 ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
11     SRC += tap_dances.c
12 endif
13
14
15
16 ifeq ($(strip $(NO_SECRETS)), yes)
17     OPT_DEFS += -DNO_SECRETS
18 endif
19
20 ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
21     SRC += rgb_stuff.c
22     ifeq ($(strip $(INDICATOR_LIGHTS)), yes)
23         OPT_DEFS += -DINDICATOR_LIGHTS
24     endif
25     ifeq ($(strip $(RGBLIGHT_TWINKLE)), yes)
26         OPT_DEFS += -DRGBLIGHT_TWINKLE
27     endif
28     ifeq ($(strip $(RGBLIGHT_NOEEPROM)), yes)
29         OPT_DEFS += -DRGBLIGHT_NOEEPROM
30     endif
31     ifeq ($(strip $(RGBLIGHT_STARTUP_ANIMATION)), yes)
32         OPT_DEFS += -DRGBLIGHT_STARTUP_ANIMATION
33     endif
34 endif
35
36 ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
37     SRC += rgb_stuff.c
38 endif
39
40
41 ifeq ($(strip $(MACROS_ENABLED)), yes)
42     OPT_DEFS += -DMACROS_ENABLED
43 endif
44
45 ifdef CONSOLE_ENABLE
46     ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
47         OPT_DEFS += -DKEYLOGGER_ENABLE
48     endif
49 endif
50
51 ifeq ($(strip $(MAKE_BOOTLOADER)), yes)
52     OPT_DEFS += -DMAKE_BOOTLOADER
53 endif