view host/Makefile @ 6:8f10d35a4090

* Fix leftover reference to X Consortium in copyright note!
author cannam
date Fri, 31 Mar 2006 16:26:28 +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