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.

Makefile.common 542B

1234567891011121314151617181920212223242526272829303132333435
  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 USB_EXTRA_ENABLE
  19. OPT_DEFS += -DUSB_EXTRA_ENABLE
  20. endif
  21. ifdef USB_NKRO_ENABLE
  22. OPT_DEFS += -DUSB_NKRO_ENABLE
  23. endif
  24. ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
  25. OPT_DEFS += -DUSB_MOUSE_ENABLE
  26. endif
  27. include $(COMMON_DIR)/Makefile.rules