changeset 101:301a8cf18838

Makefile.osx: set default sdk to 2.5, look for precompiled binaries
author Paul Brossier <piem@piem.org>
date Sat, 31 Jan 2015 14:29:44 +0100
parents b5ef15273f71
children c4a737488a9e
files Makefile.osx
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.osx	Sat Jan 31 14:11:51 2015 +0100
+++ b/Makefile.osx	Sat Jan 31 14:29:44 2015 +0100
@@ -16,11 +16,14 @@
 ARCHFLAGS	?= -mmacosx-version-min=10.6 -arch x86_64
 
 # Location of Vamp plugin SDK relative to the project directory
-VAMPSDK_DIR	:= ../vamp-plugin-sdk
+VAMPSDK_DIR	:= ../vamp-plugin-sdk-2.5
+
+# Location of libvamp-sdk.dylib
+VAMPDLL_DIR ?= ../vamp-plugin-sdk-2.5-binaries-osx
 
 # Libraries and linker flags required by plugin: add any -l<library>
 # options here
-PLUGIN_LDFLAGS	:= -dynamiclib -exported_symbols_list vamp-plugin.list -lvamp-sdk
+PLUGIN_LDFLAGS	:= -dynamiclib -exported_symbols_list=vamp-plugin.list -L$(VAMPDLL_DIR) -lvamp-sdk
 
 # File extension for plugin library on this platform
 PLUGIN_EXT	:= .dylib