Browse Source

Start using USING_RTAUDIO macro

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.4.1
parent
commit
5db3077f25
2 changed files with 5 additions and 3 deletions
  1. +2
    -2
      source/backend/Makefile
  2. +3
    -1
      source/backend/engine/Makefile

+ 2
- 2
source/backend/Makefile View File

@@ -58,7 +58,7 @@ STANDALONE_LIBS += $(MODULEDIR)/juce_gui_extra.a
endif endif
endif endif


ifneq ($(USING_JUCE_AUDIO_DEVICES),true)
ifeq ($(USING_RTAUDIO),true)
STANDALONE_LIBS += $(MODULEDIR)/rtaudio.a STANDALONE_LIBS += $(MODULEDIR)/rtaudio.a
STANDALONE_LIBS += $(MODULEDIR)/rtmidi.a STANDALONE_LIBS += $(MODULEDIR)/rtmidi.a
endif endif
@@ -93,7 +93,7 @@ STANDALONE_LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS)
endif endif
endif endif


ifneq ($(USING_JUCE_AUDIO_DEVICES),true)
ifeq ($(USING_RTAUDIO),true)
STANDALONE_LINK_FLAGS += $(RTAUDIO_LIBS) STANDALONE_LINK_FLAGS += $(RTAUDIO_LIBS)
STANDALONE_LINK_FLAGS += $(RTMIDI_LIBS) STANDALONE_LINK_FLAGS += $(RTMIDI_LIBS)
endif endif


+ 3
- 1
source/backend/engine/Makefile View File

@@ -42,7 +42,9 @@ OBJSa = $(OBJS) \
ifeq ($(USING_JUCE_AUDIO_DEVICES),true) ifeq ($(USING_JUCE_AUDIO_DEVICES),true)
OBJSa += \ OBJSa += \
$(OBJDIR)/CarlaEngineJuce.cpp.o $(OBJDIR)/CarlaEngineJuce.cpp.o
else
endif

ifeq ($(USING_RTAUDIO),true)
OBJSa += \ OBJSa += \
$(OBJDIR)/CarlaEngineRtAudio.cpp.o $(OBJDIR)/CarlaEngineRtAudio.cpp.o
endif endif


Loading…
Cancel
Save