summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r--keyboard/planck/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile
index 0da2a86c9..81c9be1e4 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -47,12 +47,18 @@ TOP_DIR = ../..
# Directory keyboard dependent files exist
TARGET_DIR = .
+# Default to PCB matrix
+ifndef MATRIX
+ MATRIX=matrix_pcb.c
+endif
+$(warning MATRIX: $(MATRIX))
# # project specific files
ifdef COMMON
SRC = keymap_common.c \
+ $(MATRIX) \
led.c \
backlight.c \
beeps.c
@@ -72,7 +78,7 @@ endif
else
SRC = extended_keymap_common.c \
- analog.c \
+ $(MATRIX) \
led.c \
backlight.c \
beeps.c