Add static-plugin target, fix some warnings

This commit is contained in:
falkTX 2021-11-13 18:39:17 +00:00
parent a79be89871
commit 8c9edf7d51
6 changed files with 17 additions and 4 deletions

View File

@ -216,6 +216,15 @@ rest: libs
theme: libs
@$(MAKE) -C source/theme
# ---------------------------------------------------------------------------------------------------------------------
# static targets
static-backend: libs
@$(MAKE) -C source/backend static
static-plugin: static-backend
@$(MAKE) -C source/plugin static
# ---------------------------------------------------------------------------------------------------------------------
# hacks

View File

@ -109,6 +109,8 @@ endif
all: $(TARGETS)
$(MAKE) -C utils
static: $(OBJS_standalone)
# ---------------------------------------------------------------------------------------------------------------------
clean:

View File

@ -36,7 +36,9 @@
#ifdef USING_JUCE
# include "AppConfig.h"
# include "juce_core/juce_core.h"
#else
#endif
#ifdef USING_RTAUDIO
# include "rtaudio/RtAudio.h"
# include "rtmidi/RtMidi.h"
#endif
@ -94,7 +96,7 @@ const char* carla_get_complete_license_text()
#endif
"<li>rtmempool library by Nedko Arnaudov"
"<li>serd, sord, sratom and lilv libraries for LV2 discovery</li>"
#ifndef USING_JUCE
#ifdef USING_RTAUDIO
"<li>RtAudio v" RTAUDIO_VERSION " and RtMidi v" RTMIDI_VERSION " for native Audio and MIDI support</li>"
#endif
"<li>zita-resampler for audio file sample rate resampling</li>"

View File

@ -69,7 +69,6 @@ private:
unsigned int _phase;
unsigned int _pstep;
float *_buff;
void *_dummy [8];
};

View File

@ -77,7 +77,6 @@ private:
float *_buff;
float *_c1;
float *_c2;
void *_dummy [8];
};

View File

@ -213,6 +213,8 @@ else
wine: $(BINDIR)/CarlaVstShellBridged.dll.so $(BINDIR)/CarlaVstFxShellBridged.dll.so
endif
static: $(OBJDIR)/carla-host-plugin.cpp.o
# ---------------------------------------------------------------------------------------------------------------------
BUNDLES = audiogain files miditools