Mercurial > hg > vamp-plugin-sdk
annotate host/Makefile @ 2:274e883b5975
...
author | cannam |
---|---|
date | Fri, 31 Mar 2006 15:06:47 +0000 |
parents | ad9aa1881a70 |
children | 631468924a38 |
rev | line source |
---|---|
cannam@1 | 1 |
cannam@1 | 2 SDKPATH := ../sdk |
cannam@1 | 3 APIPATH := ../vamp |
cannam@1 | 4 |
cannam@1 | 5 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH) |
cannam@1 | 6 LIBS := $(LIBS) -ldl |
cannam@1 | 7 |
cannam@1 | 8 SDKFILES := $(SDKPATH)/PluginHostAdapter.cpp $(SDKPATH)/RealTime.cpp |
cannam@1 | 9 |
cannam@1 | 10 simplehost: simplehost.o |
cannam@1 | 11 $(CXX) $(CXXFLAGS) -o simplehost $(SDKFILES) simplehost.o $(LIBS) |
cannam@1 | 12 |
cannam@1 | 13 all: simplehost |
cannam@1 | 14 |
cannam@1 | 15 test: |
cannam@1 | 16 simplehost ../examples/plugins.so |
cannam@1 | 17 |
cannam@1 | 18 clean: |
cannam@1 | 19 rm -f simplehost.o |
cannam@1 | 20 |
cannam@1 | 21 distclean: clean |
cannam@1 | 22 rm -f simplehost *~ *.bak |
cannam@1 | 23 |
cannam@1 | 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 |