summaryrefslogtreecommitdiffstats
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 0000000000..92bb4ccd1b
--- /dev/null
+++ b/users/greatwizard/rules.mk
@@ -0,0 +1,31 @@
+SRC += greatwizard.c
+
+ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
+ SRC += tap_dances.c
+endif
+
+ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
+ SRC += underglow.c
+endif
+
+ifeq ($(strip $(LAYER_GAME)), yes)
+ SRC += game.c
+endif
+
+ifeq ($(strip $(LAYER_GIT)), yes)
+ SRC += git.c
+endif
+
+ifeq ($(strip $(LAYERS_ORTHO)), yes)
+ SRC += ortho.c
+endif
+
+ifeq ($(strip $(LAYERS_PROGRAMMER)), yes)
+ SRC += programmer.c
+endif
+
+ifneq ($(PLATFORM),CHIBIOS)
+ LTO_ENABLE = yes # Enable link time optimization
+endif
+
+AUTO_SHIFT_ENABLE = yes # Autoshift by holding down a key