diff options
Diffstat (limited to 'Makefile.common')
| -rw-r--r-- | Makefile.common | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index ae2a562ce..1922def00 100644 --- a/Makefile.common +++ b/Makefile.common | |||
| @@ -1,18 +1,35 @@ | |||
| 1 | SRC += keyboard.c \ | 1 | SRC += host.c \ |
| 2 | keyboard.c \ | ||
| 2 | command.c \ | 3 | command.c \ |
| 3 | layer.c \ | 4 | layer.c \ |
| 4 | timer.c \ | 5 | timer.c \ |
| 5 | print.c \ | 6 | print.c \ |
| 6 | util.c | 7 | util.c |
| 7 | 8 | ||
| 9 | |||
| 8 | # Option modules | 10 | # Option modules |
| 9 | ifdef MOUSEKEY_ENABLE | 11 | ifdef MOUSEKEY_ENABLE |
| 10 | SRC += mousekey.c | 12 | SRC += mousekey.c |
| 13 | OPT_DEFS += -DMOUSEKEY_ENABLE | ||
| 11 | endif | 14 | endif |
| 12 | 15 | ||
| 13 | ifdef PS2_MOUSE_ENABLE | 16 | ifdef PS2_MOUSE_ENABLE |
| 14 | SRC += ps2.c \ | 17 | SRC += ps2.c \ |
| 15 | ps2_mouse.c | 18 | ps2_mouse.c |
| 19 | OPT_DEFS += -DPS2_MOUSE_ENABLE | ||
| 20 | endif | ||
| 21 | |||
| 22 | ifdef USB_EXTRA_ENABLE | ||
| 23 | OPT_DEFS += -DUSB_EXTRA_ENABLE | ||
| 24 | endif | ||
| 25 | |||
| 26 | ifdef USB_NKRO_ENABLE | ||
| 27 | OPT_DEFS += -DUSB_NKRO_ENABLE | ||
| 28 | endif | ||
| 29 | |||
| 30 | ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE) | ||
| 31 | OPT_DEFS += -DUSB_MOUSE_ENABLE | ||
| 16 | endif | 32 | endif |
| 17 | 33 | ||
| 34 | |||
| 18 | include $(COMMON_DIR)/Makefile.rules | 35 | include $(COMMON_DIR)/Makefile.rules |
