cannam@0: cannam@0: TARGET := plugins.so cannam@0: OBJECTS := ZeroCrossing.o SpectralCentroid.o plugins.o cannam@0: cannam@4: SDKPATH := ../vamp-sdk cannam@0: APIPATH := ../vamp cannam@0: cannam@0: CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH) cannam@0: cannam@0: LDFLAGS := -shared -Wl,-Bsymbolic cannam@0: cannam@1: SDKFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp cannam@0: cannam@0: plugins.so: $(OBJECTS) cannam@1: $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(SDKFILES) $(OBJECTS) cannam@0: cannam@0: all: $(TARGET) cannam@0: cannam@0: clean: cannam@0: rm -f $(OBJECTS) cannam@0: cannam@0: distclean: clean cannam@0: rm -f *~ *.bak $(TARGET) cannam@0: cannam@4: 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 cannam@4: 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