diff options
Diffstat (limited to 'users/greatwizard/rules.mk')
-rw-r--r-- | users/greatwizard/rules.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/users/greatwizard/rules.mk b/users/greatwizard/rules.mk new file mode 100644 index 000000000..92bb4ccd1 --- /dev/null +++ b/users/greatwizard/rules.mk | |||
@@ -0,0 +1,31 @@ | |||
1 | SRC += greatwizard.c | ||
2 | |||
3 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) | ||
4 | SRC += tap_dances.c | ||
5 | endif | ||
6 | |||
7 | ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) | ||
8 | SRC += underglow.c | ||
9 | endif | ||
10 | |||
11 | ifeq ($(strip $(LAYER_GAME)), yes) | ||
12 | SRC += game.c | ||
13 | endif | ||
14 | |||
15 | ifeq ($(strip $(LAYER_GIT)), yes) | ||
16 | SRC += git.c | ||
17 | endif | ||
18 | |||
19 | ifeq ($(strip $(LAYERS_ORTHO)), yes) | ||
20 | SRC += ortho.c | ||
21 | endif | ||
22 | |||
23 | ifeq ($(strip $(LAYERS_PROGRAMMER)), yes) | ||
24 | SRC += programmer.c | ||
25 | endif | ||
26 | |||
27 | ifneq ($(PLATFORM),CHIBIOS) | ||
28 | LTO_ENABLE = yes # Enable link time optimization | ||
29 | endif | ||
30 | |||
31 | AUTO_SHIFT_ENABLE = yes # Autoshift by holding down a key | ||