upload
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

pjrc.mk 537B

123456789101112131415161718192021222324252627282930
  1. PJRC_DIR = protocol/pjrc
  2. SRC += $(PJRC_DIR)/main.c \
  3. $(PJRC_DIR)/pjrc.c \
  4. $(PJRC_DIR)/usb_keyboard.c \
  5. $(PJRC_DIR)/usb_debug.c \
  6. $(PJRC_DIR)/usb.c
  7. # Option modules
  8. ifdef MOUSEKEY_ENABLE
  9. SRC += $(PJRC_DIR)/usb_mouse.c
  10. endif
  11. ifdef ADB_MOUSE_ENABLE
  12. SRC += $(PJRC_DIR)/usb_mouse.c
  13. endif
  14. ifdef PS2_MOUSE_ENABLE
  15. SRC += $(PJRC_DIR)/usb_mouse.c
  16. endif
  17. ifdef EXTRAKEY_ENABLE
  18. SRC += $(PJRC_DIR)/usb_extra.c
  19. endif
  20. # Search Path
  21. VPATH += $(TMK_DIR)/$(PJRC_DIR)
  22. # This indicates using LUFA stack
  23. OPT_DEFS += -DPROTOCOL_PJRC