]> git.friedersdorff.com Git - max/tmk_keyboard.git/blob - protocol.mk
Updated Lightsaber read me
[max/tmk_keyboard.git] / protocol.mk
1 PROTOCOL_DIR = protocol
2
3
4 ifdef PS2_MOUSE_ENABLE
5     SRC += $(PROTOCOL_DIR)/ps2_mouse.c
6     OPT_DEFS += -DPS2_MOUSE_ENABLE
7     OPT_DEFS += -DMOUSE_ENABLE
8 endif
9
10 ifdef PS2_USE_BUSYWAIT
11     SRC += protocol/ps2_busywait.c
12     OPT_DEFS += -DPS2_USE_BUSYWAIT
13 endif
14
15 ifdef PS2_USE_INT
16     SRC += protocol/ps2_interrupt.c
17     OPT_DEFS += -DPS2_USE_INT
18 endif
19
20 ifdef PS2_USE_USART
21     SRC += protocol/ps2_usart.c
22     OPT_DEFS += -DPS2_USE_USART
23 endif
24
25
26 # Search Path
27 VPATH += $(TOP_DIR)/protocol