diff Makefile @ 1:3fd1a41b089b

* Now displaying some output. Needs testing to see if bugs are present.
author Carl Bussey <c.bussey@se10.qmul.ac.uk>
date Wed, 09 Jul 2014 10:26:51 +0100
parents 31d2a7e07786
children 1d0b7dcea27f
line wrap: on
line diff
--- a/Makefile	Mon Jul 07 10:08:14 2014 +0100
+++ b/Makefile	Wed Jul 09 10:26:51 2014 +0100
@@ -30,7 +30,7 @@
 # Edit this to the location of the Vamp plugin SDK, relative to your
 # project directory
 #
-VAMP_SDK_DIR := /usr/local/bin
+VAMP_SDK_DIR := /usr/local/include
 
 
 ## Uncomment these for an OS/X universal binary (32- and 64-bit Intel)
@@ -38,7 +38,7 @@
 ## Xcode 4 command-line tools.
 
 CXX := g++
-CXXFLAGS := -mmacosx-version-min=10.5 -arch x86_64 -I$(VAMP_SDK_DIR) -Wall -fPIC
+CXXFLAGS := -arch x86_64 -I$(VAMP_SDK_DIR) -Wall -fPIC
 PLUGIN_EXT := .dylib
 LDFLAGS := $(CXXFLAGS) -dynamiclib -install_name $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) /usr/local/lib/libvamp-sdk.a -exported_symbols_list vamp-plugin.list
 
@@ -96,6 +96,9 @@
 
 $(PLUGIN_OBJECTS): $(PLUGIN_HEADERS)
 
+install: $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
+	cp $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) /Library/Audio/Plug-Ins/Vamp
+
 clean:
 	rm -f *.o *.dylib