summaryrefslogtreecommitdiff
path: root/Makefile.pjrc
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-02-13 00:15:51 +0900
committertmk <nobody@nowhere>2011-02-22 03:09:05 +0900
commit9a938eecbd2b70c970992583b5c16da717d8e254 (patch)
tree22ac37491f88aa60d917a18696c93f61a429d43c /Makefile.pjrc
parent2b8cd88ab142068eed0a3f230a3de79deb567536 (diff)
host interface for pjrc
Diffstat (limited to 'Makefile.pjrc')
-rw-r--r--Makefile.pjrc19
1 files changed, 6 insertions, 13 deletions
diff --git a/Makefile.pjrc b/Makefile.pjrc
index 4c0e835041..894d4dcee3 100644
--- a/Makefile.pjrc
+++ b/Makefile.pjrc
@@ -1,19 +1,16 @@
-# Following variables need to be set in <target>/Makefile:
-# TARGET
-# COMMON_DIR
-# TARGET_DIR
-# TARGET_SRC
-# MCU
-# F_CPU
+OPT_DEFS += -DHOST_PJRC
-
-# 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)
+
+# C source file search path
+VPATH = $(TARGET_DIR):$(COMMON_DIR):$(COMMON_DIR)/pjrc
+
+
# Option modules
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
SRC += usb_mouse.c
@@ -22,7 +19,3 @@ endif
ifdef USB_EXTRA_ENABLE
SRC += usb_extra.c
endif
-
-
-# C source file search path
-VPATH = $(TARGET_DIR):$(COMMON_DIR):$(COMMON_DIR)/pjrc