diff options
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r-- | keyboard/planck/Makefile | 21 |
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 |