summaryrefslogtreecommitdiff
path: root/converter/adb_usb/Makefile.pjrc
diff options
context:
space:
mode:
Diffstat (limited to 'converter/adb_usb/Makefile.pjrc')
-rw-r--r--converter/adb_usb/Makefile.pjrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/converter/adb_usb/Makefile.pjrc b/converter/adb_usb/Makefile.pjrc
index c3a5d8f553..2eb41b34b4 100644
--- a/converter/adb_usb/Makefile.pjrc
+++ b/converter/adb_usb/Makefile.pjrc
@@ -8,11 +8,17 @@ TOP_DIR = ../..
TARGET_DIR = .
# keyboard dependent files
-SRC = keymap.c \
+SRC = keymap_common.c \
matrix.c \
led.c \
adb.c
+ifdef KEYMAP
+ SRC := keymap_$(KEYMAP).c $(SRC)
+else
+ SRC := keymap_ansi.c $(SRC)
+endif
+
CONFIG_H = config.h