summaryrefslogtreecommitdiff
path: root/Makefile.pjrc
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-02-09 00:03:58 +0900
committertmk <nobody@nowhere>2011-02-22 03:08:59 +0900
commitacc974c64b1e17e6807133fdc50de5bb34aedda5 (patch)
tree7af7511a56d680a4d93b535c52891a8ffc15dd04 /Makefile.pjrc
parent5552b5afeaa9ce7432f9ded3586984253f292d80 (diff)
added protocol stack: pjrc, vusb
Diffstat (limited to 'Makefile.pjrc')
-rw-r--r--Makefile.pjrc28
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile.pjrc b/Makefile.pjrc
new file mode 100644
index 0000000000..4c0e835041
--- /dev/null
+++ b/Makefile.pjrc
@@ -0,0 +1,28 @@
+# Following variables need to be set in <target>/Makefile:
+# TARGET
+# COMMON_DIR
+# TARGET_DIR
+# TARGET_SRC
+# MCU
+# F_CPU
+
+
+# List C source files here. (C dependencies are automatically generated.)
+SRC = usb_keyboard.c \
+ usb_debug.c \
+ usb.c \
+ jump_bootloader.c
+SRC += $(TARGET_SRC)
+
+# Option modules
+ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
+ SRC += usb_mouse.c
+endif
+
+ifdef USB_EXTRA_ENABLE
+ SRC += usb_extra.c
+endif
+
+
+# C source file search path
+VPATH = $(TARGET_DIR):$(COMMON_DIR):$(COMMON_DIR)/pjrc