X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=users%2Fwanleg%2Frules.mk;h=56304013153dc119d04e7224b40dd1bcfd9d2985;hb=f1003aaccfdd4210103e796206e6ac40285dab5b;hp=8dcc911cefde05dce499c7d5bfdad7d97ea11b7b;hpb=9175eebc8796f31a481ba16b1ca2ba9e4432502e;p=qmk_firmware.git diff --git a/users/wanleg/rules.mk b/users/wanleg/rules.mk index 8dcc911ce..563040131 100644 --- a/users/wanleg/rules.mk +++ b/users/wanleg/rules.mk @@ -1,19 +1,16 @@ -ifeq ($(strip $(KEYBOARD)), lets_split_rev2) -SRC += ../../keyboards/lets_split/lets_split.c -endif - -SRC += wanleg.c tapdances.c +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 : dfu=qmk" when compiling to ensure it is flagged properly after being flashed 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