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 560B

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