1 PROTOCOL_DIR = protocol
5 SRC += $(PROTOCOL_DIR)/ps2_mouse.c
6 OPT_DEFS += -DPS2_MOUSE_ENABLE
7 OPT_DEFS += -DMOUSE_ENABLE
10 ifdef PS2_USE_BUSYWAIT
11 SRC += protocol/ps2_busywait.c
12 OPT_DEFS += -DPS2_USE_BUSYWAIT
16 SRC += protocol/ps2_interrupt.c
17 OPT_DEFS += -DPS2_USE_INT
21 SRC += protocol/ps2_usart.c
22 OPT_DEFS += -DPS2_USE_USART
27 VPATH += $(TOP_DIR)/protocol