diff options
Diffstat (limited to 'protocol.mk')
| -rw-r--r-- | protocol.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/protocol.mk b/protocol.mk index 7f561e62d..de7014e86 100644 --- a/protocol.mk +++ b/protocol.mk | |||
| @@ -23,5 +23,25 @@ ifdef PS2_USE_USART | |||
| 23 | endif | 23 | endif |
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | ifdef SERIAL_MOUSE_MICROSOFT_ENABLE | ||
| 27 | SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c | ||
| 28 | OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \ | ||
| 29 | -DMOUSE_ENABLE | ||
| 30 | endif | ||
| 31 | |||
| 32 | ifdef SERIAL_MOUSE_MOUSESYSTEMS_ENABLE | ||
| 33 | SRC += $(PROTOCOL_DIR)/serial_mouse_mousesystems.c | ||
| 34 | OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MOUSESYSTEMS \ | ||
| 35 | -DMOUSE_ENABLE | ||
| 36 | endif | ||
| 37 | |||
| 38 | ifdef SERIAL_MOUSE_USE_SOFT | ||
| 39 | SRC += $(PROTOCOL_DIR)/serial_soft.c | ||
| 40 | endif | ||
| 41 | |||
| 42 | ifdef SERIAL_MOUSE_USE_UART | ||
| 43 | SRC += $(PROTOCOL_DIR)/serial_uart.c | ||
| 44 | endif | ||
| 45 | |||
| 26 | # Search Path | 46 | # Search Path |
| 27 | VPATH += $(TOP_DIR)/protocol | 47 | VPATH += $(TOP_DIR)/protocol |
