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