# HG changeset patch # User Chris Cannam # Date 1287688769 -3600 # Node ID 52b6dbd6155312b6398626cf9d1939b8c7f20fd5 # Parent 690bd9148467b0a317acbb90fdfce221403e1081 * minor tidy diff -r 690bd9148467 -r 52b6dbd61553 Makefile.cc-linux --- a/Makefile.cc-linux Thu Oct 21 16:34:58 2010 +0100 +++ b/Makefile.cc-linux Thu Oct 21 20:19:29 2010 +0100 @@ -15,7 +15,7 @@ # Edit this to the base name of your plugin library # -PLUGIN_LIBRARY_NAME = matthiasm +PLUGIN_LIBRARY_NAME = nnls-chroma # Edit this to list one .o file for each .cpp file in your plugin project # @@ -24,17 +24,16 @@ # Edit this to the location of the Vamp plugin SDK, relative to your # project directory # -VAMP_SDK_DIR = /work/vamp-plugin-sdk -QMDSP_DIR = /work/qm-dsp -NNLS_DIR = ../tsnnls/tsnnls +VAMP_SDK_DIR = ../vamp-plugin-sdk -CFLAGS = -I$(VAMP_SDK_DIR) -I$(LAPACK_DIR) -I$(NNLS_DIR) -Wall -fPIC -CXXFLAGS = -I$(VAMP_SDK_DIR) -I$(LAPACK_DIR) -I$(NNLS_DIR) -Wall -fPIC +ARCHFLAGS = -g + +CFLAGS = $(ARCHFLAGS) -I$(VAMP_SDK_DIR) -Wall -fPIC +CXXFLAGS = $(ARCHFLAGS) -I$(VAMP_SDK_DIR) -Wall -fPIC PLUGIN_EXT = .so PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) -#LDFLAGS = -shared -Wl,-soname=$(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--version-script=vamp-plugin.map $(QMDSP_DIR)/libqm-dsp.a ../tsnnls/tsnnls/.libs/libtsnnls.a -llapack-3 -LDFLAGS = -shared -Wl,-soname=$(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--version-script=vamp-plugin.map $(QMDSP_DIR)/libqm-dsp.a +LDFLAGS = -shared -Wl,-soname=$(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--version-script=vamp-plugin.map