Remove no-longer-supported-by-aubio onset detection function
[vamp-aubio-plugins.git] / Makefile
index 358564a..86ae9f4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,17 +5,17 @@ PLUGINDIR     = plugins
 
 # Compile flags
 #
-CXXFLAGS       := $(CXXFLAGS) -fPIC -DNDEBUG -O2 -Wall -I.
+#CXXFLAGS      := -I../ -I../inst/include $(CXXFLAGS) -fPIC -DNDEBUG -O2 -Wall -I.
+CXXFLAGS       := -I../ -I../inst/include $(CXXFLAGS) -fPIC -DDEBUG -g -Wall -I.
 
-# Libraries required for the plugins.  Note that we can (and actively
-# want to) statically link libstdc++, because our plugin exposes only
-# a C API so there are no boundary compatibility problems.
+# Libraries required for the plugins.
 #
-PLUGIN_LIBS    = -Wl,-Bstatic -lvamp-sdk -laubio -lfftw3f -Wl,-Bdynamic
+#PLUGIN_LIBS   = -L../inst/lib -lvamp-sdk -laubio 
+PLUGIN_LIBS    = ../vamp-plugin-sdk/libvamp-sdk.a /usr/local/lib/libaubio.a /usr/lib/libfftw3f.a
 
 # Flags required to tell the compiler to make a dynamically loadable object
 #
-PLUGIN_LDFLAGS = -shared -Wl,-Bsymbolic -static-libgcc -Wl,--version-script=vamp-plugin.map
+PLUGIN_LDFLAGS = -shared -Wl,-Bsymbolic -Wl,--version-script=vamp-plugin.map
 
 # File extension for a dynamically loadable object
 #