From: Paul Brossier Date: Sat, 31 Jan 2015 14:00:14 +0000 (+0100) Subject: Makefile.linux: add path to both amd64 and i686 binaries X-Git-Tag: 0.5.0~7 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=a87ad362476f56d79fdb15f1fba93710407df1af;p=vamp-aubio-plugins.git Makefile.linux: add path to both amd64 and i686 binaries --- diff --git a/Makefile.linux b/Makefile.linux index 5db2eec..01b6fe8 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -15,10 +15,14 @@ CFLAGS := -Wall -Wextra -O3 -msse -msse2 -mfpmath=sse -ftree-vectorize -fPIC # Location of Vamp plugin SDK relative to the project directory VAMPSDK_DIR := ../vamp-plugin-sdk-2.5 +# Location of libvamp-sdk.a +VAMPBIN_DIR_LINUX64 ?= ../vamp-plugin-sdk-2.5-binaries-amd64-linux +VAMPBIN_DIR_LINUX32 ?= ../vamp-plugin-sdk-2.5-binaries-i686-linux + # Libraries and linker flags required by plugin: add any -l # options here PLUGIN_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map -PLUGIN_LIBS := $(VAMPSDK_DIR)/libvamp-sdk.a +PLUGIN_LIBS := -L$(VAMPBIN_DIR_LINUX32) -L$(VAMPBIN_DIR_LINUX64) -lvamp-sdk # File extension for plugin library on this platform PLUGIN_EXT := .so