aboutsummaryrefslogtreecommitdiffstats
path: root/converter/adb_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/adb_usb
parent6d79e6579f1b769f3547856b8af56bd357580adf (diff)
downloadfirmware-2769f09d11a4c45362f2e6137f2469d057d8757e.tar.gz
firmware-2769f09d11a4c45362f2e6137f2469d057d8757e.tar.bz2
firmware-2769f09d11a4c45362f2e6137f2469d057d8757e.zip
Fix Makefiles.
Diffstat (limited to 'converter/adb_usb')
-rw-r--r--converter/adb_usb/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/converter/adb_usb/Makefile b/converter/adb_usb/Makefile
index 248261df0..e9a90695b 100644
--- a/converter/adb_usb/Makefile
+++ b/converter/adb_usb/Makefile
@@ -8,8 +8,7 @@ TOP_DIR = ../..
TARGET_DIR = .
# keyboard dependent files
-SRC = main.c \
- keymap.c \
+SRC = keymap.c \
matrix.c \
led.c \
adb.c
@@ -42,16 +41,11 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
#NKRO_ENABLE = yes # USB Nkey Rollover
-
-#---------------- Programming Options --------------------------
-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
include $(TOP_DIR)/common.mk
include $(TOP_DIR)/rules.mk
-
-dfu: PROGRAM_CMD = dfu-programmer atmega32u4 flash $(TARGET).hex
-dfu: program