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@0: APIFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp cannam@0: cannam@0: plugins.so: $(OBJECTS) cannam@0: $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(APIFILES) $(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: