projects
/
vamp-aubio-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ca45c15
)
Makefile.mingw32: improve
author
Paul Brossier
<piem@piem.org>
Wed, 28 Jan 2015 16:34:37 +0000
(17:34 +0100)
committer
Paul Brossier
<piem@piem.org>
Wed, 28 Jan 2015 16:34:37 +0000
(17:34 +0100)
Makefile.mingw32
patch
|
blob
|
history
diff --git
a/Makefile.mingw32
b/Makefile.mingw32
index
e7405b7
..
3229a14
100644
(file)
--- 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
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<library>
# options here
# Libraries and linker flags required by plugin: add any -l<library>
# 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
# File extension for plugin library on this platform