Mercurial > hg > vamp-plugin-sdk
diff host/Makefile @ 1:ad9aa1881a70
* Add most basic load-library-and-list-plugins host
author | cannam |
---|---|
date | Fri, 31 Mar 2006 15:00:29 +0000 |
parents | |
children | 631468924a38 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host/Makefile Fri Mar 31 15:00:29 2006 +0000 @@ -0,0 +1,24 @@ + +SDKPATH := ../sdk +APIPATH := ../vamp + +CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH) +LIBS := $(LIBS) -ldl + +SDKFILES := $(SDKPATH)/PluginHostAdapter.cpp $(SDKPATH)/RealTime.cpp + +simplehost: simplehost.o + $(CXX) $(CXXFLAGS) -o simplehost $(SDKFILES) simplehost.o $(LIBS) + +all: simplehost + +test: + simplehost ../examples/plugins.so + +clean: + rm -f simplehost.o + +distclean: clean + rm -f simplehost *~ *.bak + +simplehost.o: simplehost.cpp system.h ../vamp/vamp.h ../sdk/PluginHostAdapter.h ../sdk/PluginHostAdapter.cpp ../sdk/RealTime.h ../sdk/RealTime.cpp ../sdk/Plugin.h ../sdk/PluginBase.h