changeset 8:adf83d1d4b93 matthiasm-plugin

added rules for safer building, but changed the boost root, so will have to change back
author matthiasm
date Wed, 02 Jun 2010 16:03:48 +0000
parents 84db8ce38fd3
children 0f270f3d2131
files Makefile
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Jun 02 15:03:21 2010 +0000
+++ b/Makefile	Wed Jun 02 16:03:48 2010 +0000
@@ -28,14 +28,14 @@
 QMDSP_DIR = ../qm-dsp/build/osx/20091028
 FFT_DIR = ../qm-dsp/dsp/transforms
 NNLS_DIR = ../nnls_suvrit
-BOOST_ROOT = /usr/local/boost_1_43_0
+BOOST_ROOT = /usr/local/include/boost-1_38
 
 
 ##  Uncomment these for an OS/X native build using command-line tools:
 CXXFLAGS = -arch i386 -I$(VAMP_SDK_DIR) -I$(FFT_DIR) -I$(NNLS_DIR) -I$(BOOST_ROOT) -Wall -fPIC -g
 PLUGIN_EXT = .dylib
 PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
-LDFLAGS = -g -m32 -dynamiclib -install_name $(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a  -exported_symbols_list vamp-plugin.list -framework Accelerate
+LDFLAGS = -fopenmp -g -m32 -dynamiclib -install_name $(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a  -exported_symbols_list vamp-plugin.list -framework Accelerate
 
 
 ##  Uncomment these for an OS/X universal binary using command-line tools:
@@ -78,6 +78,9 @@
 $(PLUGIN): $(PLUGIN_CODE_OBJECTS)
 	   $(CXX) -o $@ $^ $(LDFLAGS)
 
+NNLSChroma.o: NNLSChroma.h
+plugins.o: NNLSChroma.h
+
 clean:
 	rm -f *.o