# -Wno-error=vla: mute rtAudio error on variable length array
# -Wno-error=misleading-indentation: mute JUCE warnings on GCC6
giada_CXXFLAGS += -Wno-error=vla -Wno-error=misleading-indentation
-giada_CPPFLAGS += -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__
+giada_CPPFLAGS += $(RTMIDI_CFLAGS)
giada_LDADD = -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm -ljack -lasound \
- -lpthread -ldl -lpulse-simple -lpulse -lsamplerate -lrtmidi -ljansson \
+ -lpthread -ldl -lpulse-simple -lpulse -lsamplerate $(RTMIDI_LIBS) -ljansson \
-lfreetype
endif
endif
giada_tests_LDADD = -ljansson -lsndfile -lsamplerate -lfltk -lXext -lX11 -lXft \
- -lXpm -lm -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse -lrtmidi \
+ -lXpm -lm -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse $(RTMIDI_LIBS) \
-lfreetype
giada_tests_CXXFLAGS = -std=c++11