From: Paul Brossier Date: Wed, 28 Jan 2015 16:34:37 +0000 (+0100) Subject: Makefile.mingw32: improve X-Git-Tag: 0.5.0~36 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=4e3715f3534bdce3e7f819b59dd7267897d72bc8;p=vamp-aubio-plugins.git Makefile.mingw32: improve --- 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