2012-06-28 07:05:21 -07:00
|
|
|
PJRC_DIR = protocol/pjrc
|
2011-02-08 07:03:58 -08:00
|
|
|
|
2012-06-29 21:26:09 -07:00
|
|
|
SRC += $(PJRC_DIR)/main.c \
|
|
|
|
$(PJRC_DIR)/pjrc.c \
|
2012-06-28 07:05:21 -07:00
|
|
|
$(PJRC_DIR)/usb_keyboard.c \
|
|
|
|
$(PJRC_DIR)/usb_debug.c \
|
2012-06-29 19:19:07 -07:00
|
|
|
$(PJRC_DIR)/usb.c
|
2011-02-12 07:15:51 -08:00
|
|
|
|
2011-02-08 07:03:58 -08:00
|
|
|
# Option modules
|
|
|
|
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
|
2012-06-28 07:05:21 -07:00
|
|
|
SRC += $(PJRC_DIR)/usb_mouse.c
|
2011-02-08 07:03:58 -08:00
|
|
|
endif
|
|
|
|
|
2011-09-17 06:39:50 -07:00
|
|
|
ifdef EXTRAKEY_ENABLE
|
2012-06-28 07:05:21 -07:00
|
|
|
SRC += $(PJRC_DIR)/usb_extra.c
|
2011-02-08 07:03:58 -08:00
|
|
|
endif
|
2012-06-28 07:05:21 -07:00
|
|
|
|
|
|
|
# Search Path
|
|
|
|
VPATH += $(TOP_DIR)/$(PJRC_DIR)
|
2013-03-08 18:22:27 -08:00
|
|
|
|
|
|
|
# This indicates using LUFA stack
|
|
|
|
OPT_DEFS += -DPROTOCOL_PJRC
|