annotate examples/Makefile @ 3:0133b3513e2b

* Renamed sdk to vamp-sdk
author cannam
date Fri, 31 Mar 2006 15:08:27 +0000
parents ad9aa1881a70
children 631468924a38
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@0 5 SDKPATH := ../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@1 25 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 26 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