该仓库已被归档。您可以查看文件和克隆它,但不能推送、创建工单或合并请求。
2012-06-28 14:05:21 +00:00
|
|
|
PJRC_DIR = protocol/pjrc
|
2011-02-08 15:03:58 +00:00
|
|
|
|
2012-06-28 14:05:21 +00:00
|
|
|
OPT_DEFS += -DHOST_PJRC
|
2011-02-12 15:15:51 +00:00
|
|
|
|
2012-06-30 04:26:09 +00:00
|
|
|
SRC += $(PJRC_DIR)/main.c \
|
|
|
|
$(PJRC_DIR)/pjrc.c \
|
2012-06-28 14:05:21 +00:00
|
|
|
$(PJRC_DIR)/usb_keyboard.c \
|
|
|
|
$(PJRC_DIR)/usb_debug.c \
|
2012-06-30 02:19:07 +00:00
|
|
|
$(PJRC_DIR)/usb.c
|
2011-02-12 15:15:51 +00:00
|
|
|
|
2011-02-08 15:03:58 +00:00
|
|
|
# Option modules
|
|
|
|
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
|
2012-06-28 14:05:21 +00:00
|
|
|
SRC += $(PJRC_DIR)/usb_mouse.c
|
2011-02-08 15:03:58 +00:00
|
|
|
endif
|
|
|
|
|
2011-09-17 13:39:50 +00:00
|
|
|
ifdef EXTRAKEY_ENABLE
|
2012-06-28 14:05:21 +00:00
|
|
|
SRC += $(PJRC_DIR)/usb_extra.c
|
2011-02-08 15:03:58 +00:00
|
|
|
endif
|
2012-06-28 14:05:21 +00:00
|
|
|
|
|
|
|
# Search Path
|
|
|
|
VPATH += $(TOP_DIR)/$(PJRC_DIR)
|