summaryrefslogtreecommitdiffstats
path: root/converter/terminal_usb
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-06-30 14:44:59 +0900
committertmk <nobody@nowhere>2012-06-30 14:44:59 +0900
commit2769f09d11a4c45362f2e6137f2469d057d8757e (patch)
tree1c61e7b91f1f4986232a1fdca421b3346f8a9431 /converter/terminal_usb
parent6d79e6579f1b769f3547856b8af56bd357580adf (diff)
Fix Makefiles.
Diffstat (limited to 'converter/terminal_usb')
-rw-r--r--converter/terminal_usb/Makefile.102_pjrc7
-rw-r--r--converter/terminal_usb/Makefile.122_pjrc7
2 files changed, 10 insertions, 4 deletions
diff --git a/converter/terminal_usb/Makefile.102_pjrc b/converter/terminal_usb/Makefile.102_pjrc
index e9d14e7a05..e2d1a00a5b 100644
--- a/converter/terminal_usb/Makefile.102_pjrc
+++ b/converter/terminal_usb/Makefile.102_pjrc
@@ -13,8 +13,7 @@ TOP_DIR = ../..
TARGET_DIR = .
# keyboard dependent files
-SRC = main.c \
- keymap_102.c \
+SRC = keymap_102.c \
matrix.c \
led.c \
ps2.c
@@ -51,6 +50,10 @@ NKRO_ENABLE = yes # USB Nkey Rollover
PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
+# Search Path
+VPATH += $(TARGET_DIR)
+VPATH += $(TOP_DIR)
+
include $(TOP_DIR)/protocol/pjrc.mk
include $(TOP_DIR)/protocol.mk
diff --git a/converter/terminal_usb/Makefile.122_pjrc b/converter/terminal_usb/Makefile.122_pjrc
index bec00510e5..ee42dd7436 100644
--- a/converter/terminal_usb/Makefile.122_pjrc
+++ b/converter/terminal_usb/Makefile.122_pjrc
@@ -13,8 +13,7 @@ TOP_DIR = ../..
TARGET_DIR = .
# keyboard dependent files
-SRC = main.c \
- keymap_122.c \
+SRC = keymap_122.c \
matrix.c \
led.c \
ps2.c
@@ -51,6 +50,10 @@ F_CPU = 16000000
PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
+# Search Path
+VPATH += $(TARGET_DIR)
+VPATH += $(TOP_DIR)
+
include $(TOP_DIR)/protocol/pjrc.mk
include $(TOP_DIR)/protocol.mk