Mercurial > hg > vamp-plugin-sdk
annotate examples/Makefile @ 0:6479539d1b32
* Importing first cut of Sonic Visualiser's Vamp plugin format SDK
author | cannam |
---|---|
date | Fri, 31 Mar 2006 14:21:51 +0000 |
parents | |
children | ad9aa1881a70 |
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@0 | 12 APIFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp |
cannam@0 | 13 |
cannam@0 | 14 plugins.so: $(OBJECTS) |
cannam@0 | 15 $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(APIFILES) $(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 |