...
authorChris Cannam <cannam@all-day-breakfast.com>
Tue, 31 Oct 2006 13:54:21 +0000 (13:54 +0000)
committerChris Cannam <cannam@all-day-breakfast.com>
Tue, 31 Oct 2006 13:54:21 +0000 (13:54 +0000)
Makefile

index 576d93c..324ebf9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,13 +10,13 @@ PLUGINDIR   = plugins
 
 # Compile flags
 #
 
 # Compile flags
 #
-CXXFLAGS       := $(CXXFLAGS) -g -Wall -I$(VAMPDIR) -I.
+CXXFLAGS       := $(CXXFLAGS) -DNDEBUG -O2 -march=pentium3 -mfpmath=sse -ffast-math -Wall -I$(VAMPDIR) -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.  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.
 #
-PLUGIN_LIBS    = -L$(VAMPLIBDIR) -lvamp-sdk -laubio
+PLUGIN_LIBS    = -L$(VAMPLIBDIR) -Wl,-Bstatic -lvamp-sdk -laubio -Wl,-Bdynamic
 #PLUGIN_LIBS   = -L$(VAMPLIBDIR) -lvamp-sdk /usr/lib/libaubio.a /usr/lib/libfftw3f.a
 #PLUGIN_LIBS   = -L$(VAMPLIBDIR) -lvamp-sdk $(shell g++ -print-file-name=libstdc++.a)
 
 #PLUGIN_LIBS   = -L$(VAMPLIBDIR) -lvamp-sdk /usr/lib/libaubio.a /usr/lib/libfftw3f.a
 #PLUGIN_LIBS   = -L$(VAMPLIBDIR) -lvamp-sdk $(shell g++ -print-file-name=libstdc++.a)