view 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 source

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