Mercurial > hg > vamp-plugin-sdk
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6479539d1b32 |
---|---|
1 | |
2 TARGET := plugins.so | |
3 OBJECTS := ZeroCrossing.o SpectralCentroid.o plugins.o | |
4 | |
5 SDKPATH := ../sdk | |
6 APIPATH := ../vamp | |
7 | |
8 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH) | |
9 | |
10 LDFLAGS := -shared -Wl,-Bsymbolic | |
11 | |
12 APIFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp | |
13 | |
14 plugins.so: $(OBJECTS) | |
15 $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(APIFILES) $(OBJECTS) | |
16 | |
17 all: $(TARGET) | |
18 | |
19 clean: | |
20 rm -f $(OBJECTS) | |
21 | |
22 distclean: clean | |
23 rm -f *~ *.bak $(TARGET) | |
24 |