diff options
Diffstat (limited to 'quantum.mk')
-rw-r--r-- | quantum.mk | 7 |
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 |