diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-08-24 19:31:12 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-08-24 19:31:12 -0400 |
commit | cda23c754e4d16438e2b42d86b4ce9a1eadc03d7 (patch) | |
tree | e9a0a1a0c848f215abd3f00bdbd43951b07ea98a /protocol/lufa.mk | |
parent | b8425e8b58db204e700589e6f37d647515d33034 (diff) |
midi working
Diffstat (limited to 'protocol/lufa.mk')
-rw-r--r-- | protocol/lufa.mk | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/protocol/lufa.mk b/protocol/lufa.mk index 561c505c22..088fd377e0 100644 --- a/protocol/lufa.mk +++ b/protocol/lufa.mk @@ -1,11 +1,11 @@ LUFA_DIR = protocol/lufa # Path to the LUFA library -ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h)) - LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730 -else +#ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h)) +# LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730 +#else LUFA_PATH ?= $(LUFA_DIR)/LUFA-git -endif +#endif # Create the LUFA source path variables by including the LUFA makefile @@ -19,14 +19,15 @@ endif LUFA_SRC = $(LUFA_DIR)/lufa.c \ $(LUFA_DIR)/descriptor.c \ - $(LUFA_SRC_USB) \ - $(LUFA_DIR)/midi/midi.c \ + $(LUFA_SRC_USB) + +ifdef MIDI_ENABLE + LUFA_SRC += $(LUFA_DIR)/midi/midi.c \ $(LUFA_DIR)/midi/midi_device.c \ $(LUFA_DIR)/midi/bytequeue/bytequeue.c \ $(LUFA_DIR)/midi/bytequeue/interrupt_setting.c \ - $(LUFA_SRC_USB) \ $(LUFA_SRC_USBCLASS) - +endif SRC += $(LUFA_SRC) |