diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-04-15 02:42:14 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-15 02:42:14 +0200 |
commit | 63462bf8c12cea1c13ca1bd1f105fe53f556806e (patch) | |
tree | b1636f2fa845a6f27277c0524b360e1bdea9ff06 /quantum | |
parent | ddbe4307789b6087c3e6f146a5e02f1084f3cecc (diff) | |
download | qmk_firmware-63462bf8c12cea1c13ca1bd1f105fe53f556806e.tar.gz qmk_firmware-63462bf8c12cea1c13ca1bd1f105fe53f556806e.tar.xz |
changing up the makefile a bit
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/quantum.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/quantum.mk b/quantum/quantum.mk index de93af7e8..3069f582c 100644 --- a/quantum/quantum.mk +++ b/quantum/quantum.mk @@ -23,19 +23,19 @@ ifndef CUSTOM_MATRIX SRC += $(QUANTUM_DIR)/matrix.c endif -ifdef MIDI_ENABLE +ifeq ($(MIDI_ENABLE), yes) SRC += $(QUANTUM_DIR)/keymap_midi.c endif -ifdef AUDIO_ENABLE +ifeq ($(AUDIO_ENABLE), yes) SRC += $(QUANTUM_DIR)/audio.c endif -ifdef UNICODE_ENABLE +ifeq ($(UNICODE_ENABLE), yes) SRC += $(QUANTUM_DIR)/keymap_unicode.c endif -ifdef RGBLIGHT_ENABLE +ifeq ($(RGBLIGHT_ENABLE), yes) SRC += $(QUANTUM_DIR)/light_ws2812.c SRC += $(QUANTUM_DIR)/rgblight.c OPT_DEFS += -DRGBLIGHT_ENABLE |