2012-06-28 20:05:21 +06:00
|
|
|
PJRC_DIR = protocol/pjrc
|
2011-02-08 21:03:58 +06:00
|
|
|
|
2012-06-28 20:05:21 +06:00
|
|
|
OPT_DEFS += -DHOST_PJRC
|
2011-02-12 21:15:51 +06:00
|
|
|
|
2012-06-28 20:05:21 +06:00
|
|
|
SRC += $(PJRC_DIR)/pjrc.c \
|
|
|
|
$(PJRC_DIR)/usb_keyboard.c \
|
|
|
|
$(PJRC_DIR)/usb_debug.c \
|
2012-06-30 08:19:07 +06:00
|
|
|
$(PJRC_DIR)/usb.c
|
2011-02-12 21:15:51 +06:00
|
|
|
|
2011-02-08 21:03:58 +06:00
|
|
|
# Option modules
|
|
|
|
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
|
2012-06-28 20:05:21 +06:00
|
|
|
SRC += $(PJRC_DIR)/usb_mouse.c
|
2011-02-08 21:03:58 +06:00
|
|
|
endif
|
|
|
|
|
2011-09-17 19:39:50 +06:00
|
|
|
ifdef EXTRAKEY_ENABLE
|
2012-06-28 20:05:21 +06:00
|
|
|
SRC += $(PJRC_DIR)/usb_extra.c
|
2011-02-08 21:03:58 +06:00
|
|
|
endif
|
2012-06-28 20:05:21 +06:00
|
|
|
|
|
|
|
# Search Path
|
|
|
|
VPATH += $(TOP_DIR)/$(PJRC_DIR)
|