]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - users/wanleg/rules.mk
Keymap: 4x4 pro micro (#3976)
[qmk_firmware.git] / users / wanleg / rules.mk
index ac86769538e68a6a304cc21543ec6d80224b3ec4..56304013153dc119d04e7224b40dd1bcfd9d2985 100644 (file)
@@ -1,8 +1,4 @@
-ifeq ($(strip $(KEYBOARD)), lets_split_rev2)
-SRC += ../../keyboards/lets_split/lets_split.c
-endif
-
-SRC += wanleg.c tapdances.c 
+SRC += wanleg.c tapdances.c
 
 TAP_DANCE_ENABLE = yes
 MOUSEKEY_ENABLE = yes
@@ -12,3 +8,9 @@ MOUSEKEY_ENABLE = yes
 ifeq ($(strip $(dfu)), qmk)
     BOOTLOADER = qmk-dfu
 endif
+
+#use alternate settings for 4x4 board using ProMicro instead of Micro
+#usage: make 4x4:wanleg PM=yes
+ifeq ($(strip $(PM)), yes)
+       OPT_DEFS += -DPRO_MICRO
+endif