1
0
Fork 0

Merge pull request #19 from cr3473/master

Makefile - MATRIX selection
This commit is contained in:
Jack Humbert 2015-06-02 15:42:58 -04:00
commit 6001a9347b
2 changed files with 7 additions and 2 deletions

View file

@ -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
@ -66,7 +71,7 @@ endif
else
SRC = extended_keymap_common.c \
matrix_pcb.c \
$(MATRIX) \
led.c \
backlight.c