summaryrefslogtreecommitdiffstats
path: root/users/wanleg/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/wanleg/rules.mk')
-rw-r--r--users/wanleg/rules.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/users/wanleg/rules.mk b/users/wanleg/rules.mk
new file mode 100644
index 0000000000..8dcc911cef
--- /dev/null
+++ b/users/wanleg/rules.mk
@@ -0,0 +1,19 @@
+ifeq ($(strip $(KEYBOARD)), lets_split_rev2)
+SRC += ../../keyboards/lets_split/lets_split.c
+endif
+
+SRC += wanleg.c tapdances.c
+
+ifndef TAP_DANCE_ENABLE
+TAP_DANCE_ENABLE = yes
+endif
+
+ifndef MOUSEKEY_ENABLE
+MOUSEKEY_ENABLE = yes
+endif
+
+#If using a ProMicro and it has the QMK DFU bootloader instead of Caterina,
+#run "make <keyboard>:<keymap> dfu=qmk" when compiling to ensure it is flagged properly after being flashed
+ifeq ($(strip $(dfu)), qmk)
+ BOOTLOADER = qmk-dfu
+endif