changeset 138:08e7722d4fb0

* Add OS/X Makefile
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 09 Feb 2011 15:10:25 +0000
parents 011d4fc47ebf
children bc07394fbde0
files build/osx/Makefile.osx
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build/osx/Makefile.osx	Wed Feb 09 15:10:25 2011 +0000
@@ -0,0 +1,11 @@
+
+CFLAGS := -O3 -ftree-vectorize -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -arch x86_64 -I../vamp-plugin-sdk -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/Headers/ -DUSE_PTHREADS
+
+CXXFLAGS  := $(CFLAGS)
+
+LDFLAGS	  := -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -arch x86_64 -dynamiclib -lqm-dsp ../vamp-plugin-sdk/libvamp-sdk.a -framework Accelerate -lpthread -exported_symbols_list=vamp-plugin.list -install_name qm-vamp-plugins.dylib
+
+PLUGIN_EXT   := .dylib
+
+include build/general/Makefile.inc
+