]> git.donarmstrong.com Git - tmk_firmware.git/blob - protocol/pjrc.mk
Remove MCU dependent code from common/keyboard.c
[tmk_firmware.git] / 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 PS2_MOUSE_ENABLE
15     SRC += $(PJRC_DIR)/usb_mouse.c
16 endif
17
18 ifdef EXTRAKEY_ENABLE
19     SRC += $(PJRC_DIR)/usb_extra.c
20 endif
21
22 # Search Path
23 VPATH += $(TOP_DIR)/$(PJRC_DIR)
24
25 # This indicates using LUFA stack
26 OPT_DEFS += -DPROTOCOL_PJRC