rules.mk 998 B

123456789101112131415161718192021222324252627282930
  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 for alternate pin usage
  18. OPT_DEFS += -DBLUEFRUIT
  19. #Adafruit Bluefruit controller settings
  20. BLUETOOTH = AdafruitBLE
  21. BLUETOOTH_ENABLE = yes
  22. F_CPU = 8000000
  23. CONSOLE_ENABLE = no # Console for debug(+400)
  24. COMMAND_ENABLE = no # Commands for debug and configuration
  25. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  26. endif