tmk/protocol/pjrc.mk

27 lines
472 B
Makefile
Raw Normal View History

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