From b3f638f491601d4a849995fb4fa1181c9ff4341a Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sun, 16 Aug 2015 17:51:53 -0400 Subject: ok --- keyboard/planck/Makefile | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'keyboard/planck/Makefile') 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 -- cgit v1.2.3