Mercurial > hg > vamp-plugin-sdk
annotate examples/Makefile @ 9:44113b1e296b
* Add valueNames to parameter descriptor
* Change valueCount and valueNames to binCount and binNames in output
descriptor, to avoid confusion with other uses of value
* Some explanatory notes about FFT alignment
author | cannam |
---|---|
date | Wed, 05 Apr 2006 16:50:07 +0000 |
parents | 631468924a38 |
children |
rev | line source |
---|---|
cannam@0 | 1 |
cannam@0 | 2 TARGET := plugins.so |
cannam@0 | 3 OBJECTS := ZeroCrossing.o SpectralCentroid.o plugins.o |
cannam@0 | 4 |
cannam@4 | 5 SDKPATH := ../vamp-sdk |
cannam@0 | 6 APIPATH := ../vamp |
cannam@0 | 7 |
cannam@0 | 8 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH) |
cannam@0 | 9 |
cannam@0 | 10 LDFLAGS := -shared -Wl,-Bsymbolic |
cannam@0 | 11 |
cannam@1 | 12 SDKFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp |
cannam@0 | 13 |
cannam@0 | 14 plugins.so: $(OBJECTS) |
cannam@1 | 15 $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(SDKFILES) $(OBJECTS) |
cannam@0 | 16 |
cannam@0 | 17 all: $(TARGET) |
cannam@0 | 18 |
cannam@0 | 19 clean: |
cannam@0 | 20 rm -f $(OBJECTS) |
cannam@0 | 21 |
cannam@0 | 22 distclean: clean |
cannam@0 | 23 rm -f *~ *.bak $(TARGET) |
cannam@0 | 24 |
cannam@4 | 25 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 | 26 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 |