diff examples/Makefile @ 0:6479539d1b32

* Importing first cut of Sonic Visualiser's Vamp plugin format SDK
author cannam
date Fri, 31 Mar 2006 14:21:51 +0000
parents
children ad9aa1881a70
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/Makefile	Fri Mar 31 14:21:51 2006 +0000
@@ -0,0 +1,24 @@
+
+TARGET	:= plugins.so
+OBJECTS	:= ZeroCrossing.o SpectralCentroid.o plugins.o
+
+SDKPATH := ../sdk
+APIPATH := ../vamp
+
+CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH)
+
+LDFLAGS := -shared -Wl,-Bsymbolic
+
+APIFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp
+
+plugins.so:	$(OBJECTS)
+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(APIFILES) $(OBJECTS)
+
+all:	$(TARGET)
+
+clean:
+	rm -f $(OBJECTS)
+
+distclean:	clean
+	rm -f *~ *.bak $(TARGET)
+