annotate examples/Makefile @ 4:631468924a38

* Updating references to vamp-sdk
author cannam
date Fri, 31 Mar 2006 15:10:45 +0000
parents ad9aa1881a70
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