Skip to content

Commit

Permalink
Merge pull request #19 from cr3473/master
Browse files Browse the repository at this point in the history
Makefile - MATRIX selection
  • Loading branch information
jackhumbert committed Jun 2, 2015
2 parents 81c6723 + bb9e23c commit 6001a93
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions keyboard/planck/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +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_pcb.c \
$(MATRIX) \
led.c \
backlight.c

Expand All @@ -66,7 +71,7 @@ endif
else

SRC = extended_keymap_common.c \
matrix_pcb.c \
$(MATRIX) \
led.c \
backlight.c

Expand Down
File renamed without changes.

0 comments on commit 6001a93

Please sign in to comment.