summaryrefslogtreecommitdiff
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-16 17:51:53 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-16 17:51:53 -0400
commitb3f638f491601d4a849995fb4fa1181c9ff4341a (patch)
tree2faf8bda68233a28abba86429c948d6fd841ef03 /keyboard/planck/Makefile
parent07d090db8ba5a3be15ec6c8ecf9e30815a48b0c0 (diff)
ok
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r--keyboard/planck/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile
index 964e6832ea..0da2a86c95 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -53,9 +53,9 @@ TARGET_DIR = .
ifdef COMMON
SRC = keymap_common.c \
- matrix_pcb.c \
led.c \
- backlight.c
+ backlight.c \
+ beeps.c
ifdef KEYMAP
SRC := common_keymaps/keymap_$(KEYMAP).c $(SRC)
@@ -63,12 +63,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_pcb.c \
+ analog.c \
led.c \
- backlight.c
+ backlight.c \
+ beeps.c
ifdef KEYMAP
SRC := extended_keymaps/extended_keymap_$(KEYMAP).c $(SRC)
@@ -76,6 +83,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