view host/Makefile @ 8:c4662bbef275

* Allow plugins to return 0 for preferred block/step size to accept a host default
author cannam
date Mon, 03 Apr 2006 14:19:02 +0000
parents 631468924a38
children
line wrap: on
line source

SDKPATH := ../vamp-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 $(APIPATH)/vamp.h $(SDKPATH)/PluginHostAdapter.h $(SDKPATH)/PluginHostAdapter.cpp $(SDKPATH)/RealTime.h $(SDKPATH)/RealTime.cpp $(SDKPATH)/Plugin.h $(SDKPATH)/PluginBase.h