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

@ -17,7 +17,7 @@ LUFA_SRC = $(LUFA_DIR)/lufa.c \
$(LUFA_DIR)/descriptor.c \
$(LUFA_SRC_USB)
ifdef MIDI_ENABLE
ifeq ($(MIDI_ENABLE), yes)
LUFA_SRC += $(LUFA_DIR)/midi/midi.c \
$(LUFA_DIR)/midi/midi_device.c \
$(LUFA_DIR)/midi/bytequeue/bytequeue.c \
@ -25,7 +25,7 @@ ifdef MIDI_ENABLE
$(LUFA_SRC_USBCLASS)
endif
ifdef BLUETOOTH_ENABLE
ifeq ($(BLUETOOTH_ENABLE), yes)
LUFA_SRC += $(LUFA_DIR)/bluetooth.c \
$(TMK_DIR)/protocol/serial_uart.c
endif