1
0
Fork 0

changing up the makefile a bit

This commit is contained in:
Jack Humbert 2016-04-14 20:42:14 -04:00
parent ddbe430778
commit 63462bf8c1
6 changed files with 90 additions and 66 deletions

View file

@ -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