Merge commit '4d116a04e94cf0d19317d5b44e4fa9f34a3e5594'
[tmk_keyboard.git] / tmk_core / protocol / pjrc.mk
1 PJRC_DIR = protocol/pjrc
2
3 SRC += $(PJRC_DIR)/main.c \
4 $(PJRC_DIR)/pjrc.c \
5 $(PJRC_DIR)/usb_keyboard.c \
6 $(PJRC_DIR)/usb_debug.c \
7 $(PJRC_DIR)/usb.c
8
9 # Option modules
10 ifdef MOUSEKEY_ENABLE
11 SRC += $(PJRC_DIR)/usb_mouse.c
12 endif
13
14 ifdef ADB_MOUSE_ENABLE
15 SRC += $(PJRC_DIR)/usb_mouse.c
16 endif
17
18 ifdef PS2_MOUSE_ENABLE
19 SRC += $(PJRC_DIR)/usb_mouse.c
20 endif
21
22 ifdef EXTRAKEY_ENABLE
23 SRC += $(PJRC_DIR)/usb_extra.c
24 endif
25
26 # Search Path
27 VPATH += $(TMK_DIR)/$(PJRC_DIR)
28
29 # This indicates using LUFA stack
30 OPT_DEFS += -DPROTOCOL_PJRC
Imprint / Impressum