From 4e3715f3534bdce3e7f819b59dd7267897d72bc8 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 28 Jan 2015 17:34:37 +0100 Subject: [PATCH] Makefile.mingw32: improve --- Makefile.mingw32 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile.mingw32 b/Makefile.mingw32 index e7405b7..3229a14 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -20,11 +20,18 @@ RANLIB = $(TOOLPREFIX)ranlib CFLAGS := -Wall -Wextra -O3 -ftree-vectorize # Location of Vamp plugin SDK relative to the project directory -VAMPSDK_DIR := ../vamp-plugin-sdk +VAMPSDK_DIR ?= ../vamp-plugin-sdk + +# Location of libvamp-sdk.dll +VAMPDLL_DIR ?= ../vamp-plugin-sdk-2.5-binaries-win32-mingw + +# Location of libaubio-4.dll +AUBIODLL_DIR ?= ../../dist-win32/usr/local/lib # Libraries and linker flags required by plugin: add any -l # options here -PLUGIN_LDFLAGS := -shared -static -Wl,--retain-symbols-file=vamp-plugin.list $(VAMPSDK_DIR)/libvamp-sdk.a +PLUGIN_LDFLAGS := -shared -Wl,--retain-symbols-file=vamp-plugin.list +PLUGIN_LIBS := $(VAMPDLL_DIR)/libvamp-sdk.dll $(AUBIODLL_DIR)/libaubio-4.dll # File extension for plugin library on this platform -- 2.11.0