summaryrefslogtreecommitdiff
path: root/quantum.mk
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-10-26 16:32:37 -0400
committerJack Humbert <jack.humb@gmail.com>2015-10-26 16:32:37 -0400
commit35a81f5b8b081e1607a7c04489b01f551c3213cc (patch)
tree4671909bd5ac7c3ca7afaf60fb6a70106f5090dc /quantum.mk
parent46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 (diff)
added ergodox
Diffstat (limited to 'quantum.mk')
-rw-r--r--quantum.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/quantum.mk b/quantum.mk
index 1637284047..c68bce8ff0 100644
--- a/quantum.mk
+++ b/quantum.mk
@@ -42,9 +42,12 @@ QUANTUM_DIR = $(TOP_DIR)/quantum
# # project specific files
SRC += $(QUANTUM_DIR)/keymap_common.c \
- $(QUANTUM_DIR)/matrix.c \
$(QUANTUM_DIR)/led.c
+ifndef CUSTOM_MATRIX
+ SRC += $(QUANTUM_DIR)/matrix.c
+endif
+
ifdef MIDI_ENABLE
SRC += $(QUANTUM_DIR)/keymap_midi.c \
$(QUANTUM_DIR)/beeps.c
@@ -58,8 +61,6 @@ endif
#EXTRALDFLAGS = -Wl,--relax
# Search Path
-VPATH += $(TARGET_DIR)
-VPATH += $(TOP_DIR)
VPATH += $(QUANTUM_DIR)
include $(TOP_DIR)/protocol/lufa.mk