comparison 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
comparison
equal deleted inserted replaced
0:6479539d1b32 1:ad9aa1881a70
1
2 SDKPATH := ../sdk
3 APIPATH := ../vamp
4
5 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH)
6 LIBS := $(LIBS) -ldl
7
8 SDKFILES := $(SDKPATH)/PluginHostAdapter.cpp $(SDKPATH)/RealTime.cpp
9
10 simplehost: simplehost.o
11 $(CXX) $(CXXFLAGS) -o simplehost $(SDKFILES) simplehost.o $(LIBS)
12
13 all: simplehost
14
15 test:
16 simplehost ../examples/plugins.so
17
18 clean:
19 rm -f simplehost.o
20
21 distclean: clean
22 rm -f simplehost *~ *.bak
23
24 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