Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

common.mk 547B

123456789101112131415161718192021222324252627282930313233343536
  1. SRC += host.c \
  2. keyboard.c \
  3. command.c \
  4. layer.c \
  5. timer.c \
  6. print.c \
  7. bootloader.c \
  8. util.c
  9. # Option modules
  10. ifdef MOUSEKEY_ENABLE
  11. SRC += mousekey.c
  12. OPT_DEFS += -DMOUSEKEY_ENABLE
  13. endif
  14. ifdef PS2_MOUSE_ENABLE
  15. SRC += ps2.c \
  16. ps2_mouse.c
  17. OPT_DEFS += -DPS2_MOUSE_ENABLE
  18. endif
  19. ifdef EXTRAKEY_ENABLE
  20. OPT_DEFS += -DEXTRAKEY_ENABLE
  21. endif
  22. ifdef NKRO_ENABLE
  23. OPT_DEFS += -DNKRO_ENABLE
  24. endif
  25. ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
  26. OPT_DEFS += -DMOUSE_ENABLE
  27. endif
  28. # Search Path
  29. VPATH += $(TOP_DIR)/common