cannam@0: cannam@0: TARGET := plugins.so cannam@0: OBJECTS := ZeroCrossing.o SpectralCentroid.o plugins.o cannam@0: cannam@0: SDKPATH := ../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@1: ZeroCrossing.o: ZeroCrossing.cpp ../vamp/vamp.h ../sdk/PluginAdapter.h ../sdk/PluginAdapter.cpp ../sdk/RealTime.h ../sdk/RealTime.cpp ../sdk/Plugin.h ../sdk/PluginBase.h cannam@1: SpectralCentroid.o: SpectralCentroid.cpp ../vamp/vamp.h ../sdk/PluginAdapter.h ../sdk/PluginAdapter.cpp ../sdk/RealTime.h ../sdk/RealTime.cpp ../sdk/Plugin.h ../sdk/PluginBase.h