summaryrefslogtreecommitdiff
path: root/protocol/pjrc.mk
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-06-28 23:05:21 +0900
committertmk <nobody@nowhere>2012-06-28 23:05:21 +0900
commitcc68adeb5744cba9e8650bab04ff0f0a4033db9f (patch)
treee853b1e6e48cf61b7763615a7259765a2095b621 /protocol/pjrc.mk
parent3d81d5221eac9ca9620ba9043a250dcb8371b22e (diff)
downloadqmk_firmware-cc68adeb5744cba9e8650bab04ff0f0a4033db9f.tar.gz
qmk_firmware-cc68adeb5744cba9e8650bab04ff0f0a4033db9f.zip
Add protocol/lufa. LUFA supported now.
Diffstat (limited to 'protocol/pjrc.mk')
-rw-r--r--protocol/pjrc.mk24
1 files changed, 12 insertions, 12 deletions
diff --git a/protocol/pjrc.mk b/protocol/pjrc.mk
index 1ee45e9ec9..1ceee0ad97 100644
--- a/protocol/pjrc.mk
+++ b/protocol/pjrc.mk
@@ -1,21 +1,21 @@
-OPT_DEFS += -DHOST_PJRC
-
-SRC += pjrc.c \
- usb_keyboard.c \
- usb_debug.c \
- usb.c \
- bootloader_teensy.c
+PJRC_DIR = protocol/pjrc
+OPT_DEFS += -DHOST_PJRC
-# Search Path
-VPATH += $(TOP_DIR)/protocol/pjrc
-
+SRC += $(PJRC_DIR)/pjrc.c \
+ $(PJRC_DIR)/usb_keyboard.c \
+ $(PJRC_DIR)/usb_debug.c \
+ $(PJRC_DIR)/usb.c \
+ $(PJRC_DIR)/bootloader_teensy.c
# Option modules
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
- SRC += usb_mouse.c
+ SRC += $(PJRC_DIR)/usb_mouse.c
endif
ifdef EXTRAKEY_ENABLE
- SRC += usb_extra.c
+ SRC += $(PJRC_DIR)/usb_extra.c
endif
+
+# Search Path
+VPATH += $(TOP_DIR)/$(PJRC_DIR)