summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2017-11-02 23:56:03 +1100
committerDamien Zammit <damien@zamaudio.com>2017-11-02 23:56:03 +1100
commit0d66af32e42d9a2c211d0ec1526174e0de2ccc66 (patch)
tree9c671060a8784c6ca105aac0cb005f6e78c8bfd4
parentab6184a86bc95bbfae212d62bf71b73f281fbeec (diff)
Remove dependency on libsndfile && dont build ZamVerb on Windows
-rw-r--r--Makefile7
-rw-r--r--plugins/ZamVerb/convolution.cpp1
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1dbc3c9..980b9cb 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,11 @@ BINDIR ?= bin
NAME = zam-plugins
VERSION = $(shell cat .version)
-PLUGINS=ZamComp ZamCompX2 ZaMultiComp ZamTube ZamEQ2 ZamAutoSat ZamGEQ31 ZaMultiCompX2 ZamGate ZamGateX2 ZamHeadX2 ZaMaximX2 ZamDelay ZamDynamicEQ ZamPhono ZamVerb
-#ZamPiano ZamSFZ ZamChild670 ZamSynth
+PLUGINS=ZamComp ZamCompX2 ZaMultiComp ZamTube ZamEQ2 ZamAutoSat ZamGEQ31 ZaMultiCompX2 ZamGate ZamGateX2 ZamHeadX2 ZaMaximX2 ZamDelay ZamDynamicEQ ZamPhono
+
+ifneq ($(WIN32),true)
+PLUGINS += ZamVerb
+endif
include Makefile.mk
diff --git a/plugins/ZamVerb/convolution.cpp b/plugins/ZamVerb/convolution.cpp
index e86e366..c53d615 100644
--- a/plugins/ZamVerb/convolution.cpp
+++ b/plugins/ZamVerb/convolution.cpp
@@ -43,7 +43,6 @@
#include <assert.h>
#include "../../lib/zita-convolver-3.1.0/zita-convolver.h"
-#include <sndfile.h>
#include <samplerate.h>
#include "convolution.hpp"
#include "ZamVerbImpulses.hpp"