Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

protocol.mk 487B

123456789101112131415161718192021222324252627
  1. PROTOCOL_DIR = protocol
  2. ifdef PS2_MOUSE_ENABLE
  3. SRC += $(PROTOCOL_DIR)/ps2_mouse.c
  4. OPT_DEFS += -DPS2_MOUSE_ENABLE
  5. OPT_DEFS += -DMOUSE_ENABLE
  6. endif
  7. ifdef PS2_USE_BUSYWAIT
  8. SRC += protocol/ps2_busywait.c
  9. OPT_DEFS += -DPS2_USE_BUSYWAIT
  10. endif
  11. ifdef PS2_USE_INT
  12. SRC += protocol/ps2_interrupt.c
  13. OPT_DEFS += -DPS2_USE_INT
  14. endif
  15. ifdef PS2_USE_USART
  16. SRC += protocol/ps2_usart.c
  17. OPT_DEFS += -DPS2_USE_USART
  18. endif
  19. # Search Path
  20. VPATH += $(TOP_DIR)/protocol