summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r--keyboard/planck/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile
index ad25854e6d..81c9be1e4b 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -60,7 +60,8 @@ ifdef COMMON
SRC = keymap_common.c \
$(MATRIX) \
led.c \
- backlight.c
+ backlight.c \
+ beeps.c
ifdef KEYMAP
SRC := common_keymaps/keymap_$(KEYMAP).c $(SRC)
@@ -68,12 +69,19 @@ else
SRC := common_keymaps/keymap_jack.c $(SRC)
endif
+ifdef MATRIX
+ SRC := matrix_$(MATRIX).c $(SRC)
+else
+ SRC := matrix_pcb.c $(SRC)
+endif
+
else
SRC = extended_keymap_common.c \
$(MATRIX) \
led.c \
- backlight.c
+ backlight.c \
+ beeps.c
ifdef KEYMAP
SRC := extended_keymaps/extended_keymap_$(KEYMAP).c $(SRC)
@@ -81,6 +89,12 @@ else
SRC := extended_keymaps/extended_keymap_default.c $(SRC)
endif
+ifdef MATRIX
+ SRC := matrix_$(MATRIX).c $(SRC)
+else
+ SRC := matrix_pcb.c $(SRC)
+endif
+
endif
CONFIG_H = config.h