2
0

rules.mk 675 B

12345678910111213141516171819202122
  1. SRC += wanleg.c tapdances.c
  2. TAP_DANCE_ENABLE = yes
  3. MOUSEKEY_ENABLE = yes
  4. #If using a ProMicro and it has the QMK DFU bootloader instead of Caterina,
  5. #run "make <keyboard>:<keymap> dfu=qmk" when compiling to ensure it is flagged properly after being flashed
  6. ifeq ($(strip $(dfu)), qmk)
  7. BOOTLOADER = qmk-dfu
  8. endif
  9. #use alternate settings for boards using ProMicro instead of Micro
  10. #example usage: make 4x4:wanleg PM=yes
  11. ifeq ($(strip $(PM)), yes)
  12. OPT_DEFS += -DPRO_MICRO
  13. endif
  14. #use alternate settings for boards using "Adafruit Feather 32u4 Bluefruit LE" instead of Micro
  15. #example usage: make 5x5:wanleg BT=yes
  16. ifeq ($(strip $(BT)), yes)
  17. OPT_DEFS += -DBLUEFRUIT
  18. endif