summaryrefslogtreecommitdiff
path: root/keyboard/hhkb/Makefile.pjrc
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hhkb/Makefile.pjrc')
-rw-r--r--keyboard/hhkb/Makefile.pjrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboard/hhkb/Makefile.pjrc b/keyboard/hhkb/Makefile.pjrc
index 5a781dd23a..b6ce9c7504 100644
--- a/keyboard/hhkb/Makefile.pjrc
+++ b/keyboard/hhkb/Makefile.pjrc
@@ -13,10 +13,16 @@ TOP_DIR = ../..
TARGET_DIR = .
# keyboard dependent files
-SRC = keymap.c \
+SRC = keymap_common.c \
matrix.c \
led.c
+ifdef KEYMAP
+ SRC := keymap_$(KEYMAP).c $(SRC)
+else
+ SRC := keymap_hasu.c $(SRC)
+endif
+
CONFIG_H = config.h