aboutsummaryrefslogtreecommitdiff
path: root/users/greatwizard/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/greatwizard/rules.mk')
-rw-r--r--users/greatwizard/rules.mk31
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 @@
1SRC += greatwizard.c
2
3ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
4 SRC += tap_dances.c
5endif
6
7ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
8 SRC += underglow.c
9endif
10
11ifeq ($(strip $(LAYER_GAME)), yes)
12 SRC += game.c
13endif
14
15ifeq ($(strip $(LAYER_GIT)), yes)
16 SRC += git.c
17endif
18
19ifeq ($(strip $(LAYERS_ORTHO)), yes)
20 SRC += ortho.c
21endif
22
23ifeq ($(strip $(LAYERS_PROGRAMMER)), yes)
24 SRC += programmer.c
25endif
26
27ifneq ($(PLATFORM),CHIBIOS)
28 LTO_ENABLE = yes # Enable link time optimization
29endif
30
31AUTO_SHIFT_ENABLE = yes # Autoshift by holding down a key