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 SRC += protocol/ps2_io_avr.c
13 OPT_DEFS += -DPS2_USE_BUSYWAIT
17 SRC += protocol/ps2_interrupt.c
18 OPT_DEFS += -DPS2_USE_INT
22 SRC += protocol/ps2_usart.c
23 OPT_DEFS += -DPS2_USE_USART
28 VPATH += $(TOP_DIR)/protocol