aboutsummaryrefslogtreecommitdiff
path: root/users/curry/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/curry/rules.mk')
-rw-r--r--users/curry/rules.mk20
1 files changed, 15 insertions, 5 deletions
diff --git a/users/curry/rules.mk b/users/curry/rules.mk
index 2ebb80794..87d3b38ea 100644
--- a/users/curry/rules.mk
+++ b/users/curry/rules.mk
@@ -1,8 +1,15 @@
1SRC += curry.c \ 1SRC += curry.c \
2 process_records.c 2 process_records.c
3 3
4LTO_ENABLE = yes 4# Common flags
5SPACE_CADET_ENABLE = no 5SPACE_CADET_ENABLE = no
6LTO_ENABLE = yes
7EXTRAKEY_ENABLE = yes
8UNICODE_ENABLE = yes
9NKRO_ENABLE = yes
10EXTRAKEY_ENABLE = yes
11LEADER_ENABLE = yes
12TAP_DANCE_ENABLE = no
6 13
7ifneq ($(strip $(NO_SECRETS)), yes) 14ifneq ($(strip $(NO_SECRETS)), yes)
8 ifneq ("$(wildcard $(USER_PATH)/secrets.c)","") 15 ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
@@ -21,8 +28,12 @@ ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
21 SRC += oled.c 28 SRC += oled.c
22endif 29endif
23 30
31ifeq ($(strip $(LEADER_ENABLE)), yes)
32 SRC += leader.c
33endif
34
24ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) 35ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
25 SRC += rgb_stuff.c 36 SRC += rgb_lighting_user.c
26 ifeq ($(strip $(INDICATOR_LIGHTS)), yes) 37 ifeq ($(strip $(INDICATOR_LIGHTS)), yes)
27 OPT_DEFS += -DINDICATOR_LIGHTS 38 OPT_DEFS += -DINDICATOR_LIGHTS
28 endif 39 endif
@@ -39,10 +50,9 @@ endif
39 50
40RGB_MATRIX_ENABLE ?= no 51RGB_MATRIX_ENABLE ?= no
41ifneq ($(strip $(RGB_MATRIX_ENABLE)), no) 52ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
42 SRC += rgb_stuff.c 53 SRC += rgb_matrix_user.c
43endif 54endif
44 55
45
46ifdef CONSOLE_ENABLE 56ifdef CONSOLE_ENABLE
47 ifeq ($(strip $(KEYLOGGER_ENABLE)), yes) 57 ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
48 OPT_DEFS += -DKEYLOGGER_ENABLE 58 OPT_DEFS += -DKEYLOGGER_ENABLE