annotate Makefile @ 55:38780f15ac8d

Make RequestResponse types more consistent by adding plugin to ConfigurationResponse and introducing a FinishRequest
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 19 Sep 2016 13:35:56 +0100
parents f8332b1acfc2
children 8a4bcb3dc3a6
rev   line source
c@8 1
c@55 2 CXXFLAGS := -Wall -Werror -g3 -std=c++11
c@37 3 INCFLAGS := -Ivamp-plugin-sdk -Ijson -I/usr/local/include -Icapnproto -I.
c@37 4
c@37 5 LDFLAGS := vamp-plugin-sdk/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj -ldl
c@8 6
c@32 7 #!!! todo: proper dependencies
c@32 8
c@31 9 all: bin/vamp-json-cli bin/vamp-json-to-capnp bin/vampipe-convert bin/vampipe-server
c@23 10
c@27 11 bin/vampipe-convert: o/vampipe-convert.o o/json11.o o/vamp.capnp.o
c@23 12 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
c@8 13
c@31 14 bin/vampipe-server: o/vampipe-server.o o/vamp.capnp.o
c@31 15 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
c@31 16
c@27 17 bin/vamp-json-to-capnp: o/json-to-capnp.o o/json11.o
c@8 18 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
c@8 19
c@27 20 bin/vamp-json-cli: o/json-cli.o o/json11.o
c@8 21 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
c@8 22
c@8 23 capnproto/vamp.capnp.h: capnproto/vamp.capnp
c@8 24 capnp compile $< -oc++
c@8 25
c@27 26 o/vamp.capnp.o: capnproto/vamp.capnp.c++ capnproto/vamp.capnp.h
c@37 27 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
c@27 28
c@27 29 o/json11.o: json/json11/json11.cpp
c@27 30 c++ $(CXXFLAGS) -c $< -o $@
c@27 31
c@27 32 o/vampipe-convert.o: utilities/vampipe-convert.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h
c@23 33 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
c@23 34
c@31 35 o/vampipe-server.o: utilities/vampipe-server.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h
c@31 36 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
c@31 37
c@27 38 o/json-to-capnp.o: utilities/json-to-capnp.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h
c@8 39 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
c@8 40
c@27 41 o/json-cli.o: utilities/json-cli.cpp json/VampJson.h
c@8 42 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
c@8 43
c@8 44 test: all
c@8 45 VAMP_PATH=./vamp-plugin-sdk/examples test/test-json-cli.sh
c@8 46 VAMP_PATH=./vamp-plugin-sdk/examples test/test-json-to-capnp.sh
c@8 47
c@8 48 clean:
c@27 49 rm -f */*.o capnproto/vamp.capnp.h capnproto/vamp.capnp.c++
c@8 50
c@8 51 distclean: clean
c@8 52 rm -f bin/*
c@8 53