From 5db3077f25ac7436855f70e7dfd4d4df4cc5ef29 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 13 Oct 2021 17:10:04 +0100 Subject: [PATCH] Start using USING_RTAUDIO macro Signed-off-by: falkTX --- source/backend/Makefile | 4 ++-- source/backend/engine/Makefile | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/source/backend/Makefile b/source/backend/Makefile index f1305439f..06423ebbc 100644 --- a/source/backend/Makefile +++ b/source/backend/Makefile @@ -58,7 +58,7 @@ STANDALONE_LIBS += $(MODULEDIR)/juce_gui_extra.a endif endif -ifneq ($(USING_JUCE_AUDIO_DEVICES),true) +ifeq ($(USING_RTAUDIO),true) STANDALONE_LIBS += $(MODULEDIR)/rtaudio.a STANDALONE_LIBS += $(MODULEDIR)/rtmidi.a endif @@ -93,7 +93,7 @@ STANDALONE_LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS) endif endif -ifneq ($(USING_JUCE_AUDIO_DEVICES),true) +ifeq ($(USING_RTAUDIO),true) STANDALONE_LINK_FLAGS += $(RTAUDIO_LIBS) STANDALONE_LINK_FLAGS += $(RTMIDI_LIBS) endif diff --git a/source/backend/engine/Makefile b/source/backend/engine/Makefile index 75bd0fb79..e034f0e7c 100644 --- a/source/backend/engine/Makefile +++ b/source/backend/engine/Makefile @@ -42,7 +42,9 @@ OBJSa = $(OBJS) \ ifeq ($(USING_JUCE_AUDIO_DEVICES),true) OBJSa += \ $(OBJDIR)/CarlaEngineJuce.cpp.o -else +endif + +ifeq ($(USING_RTAUDIO),true) OBJSa += \ $(OBJDIR)/CarlaEngineRtAudio.cpp.o endif