Mercurial > hg > vamp-plugin-sdk
view examples/Makefile @ 8:c4662bbef275
* Allow plugins to return 0 for preferred block/step size to accept a host
default
author | cannam |
---|---|
date | Mon, 03 Apr 2006 14:19:02 +0000 |
parents | 631468924a38 |
children |
line wrap: on
line source
TARGET := plugins.so OBJECTS := ZeroCrossing.o SpectralCentroid.o plugins.o SDKPATH := ../vamp-sdk APIPATH := ../vamp CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH) LDFLAGS := -shared -Wl,-Bsymbolic SDKFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp plugins.so: $(OBJECTS) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(SDKFILES) $(OBJECTS) all: $(TARGET) clean: rm -f $(OBJECTS) distclean: clean rm -f *~ *.bak $(TARGET) ZeroCrossing.o: ZeroCrossing.cpp $(APIPATH)/vamp.h $(SDKPATH)/PluginAdapter.h $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.h $(SDKPATH)/RealTime.cpp $(SDKPATH)/Plugin.h $(SDKPATH)/PluginBase.h SpectralCentroid.o: SpectralCentroid.cpp $(APIPATH)/vamp.h $(SDKPATH)/PluginAdapter.h $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.h $(SDKPATH)/RealTime.cpp $(SDKPATH)/Plugin.h $(SDKPATH)/PluginBase.h