c@8: c@32: CXXFLAGS := -Wall -Werror -g -std=c++11 c@10: INCFLAGS := -Ivamp-plugin-sdk -Ijson -Icapnproto -I. c@8: LDFLAGS := -Lvamp-plugin-sdk -Wl,-Bstatic -lvamp-hostsdk -Wl,-Bdynamic -lcapnp -lkj -ldl c@8: c@32: #!!! todo: proper dependencies c@32: c@31: all: bin/vamp-json-cli bin/vamp-json-to-capnp bin/vampipe-convert bin/vampipe-server c@23: c@27: bin/vampipe-convert: o/vampipe-convert.o o/json11.o o/vamp.capnp.o c@23: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) c@8: c@31: bin/vampipe-server: o/vampipe-server.o o/vamp.capnp.o c@31: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) c@31: c@27: bin/vamp-json-to-capnp: o/json-to-capnp.o o/json11.o c@8: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) c@8: c@27: bin/vamp-json-cli: o/json-cli.o o/json11.o c@8: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) c@8: c@8: capnproto/vamp.capnp.h: capnproto/vamp.capnp c@8: capnp compile $< -oc++ c@8: c@27: o/vamp.capnp.o: capnproto/vamp.capnp.c++ capnproto/vamp.capnp.h c@27: c++ $(CXXFLAGS) -c $< -o $@ c@27: c@27: o/json11.o: json/json11/json11.cpp c@27: c++ $(CXXFLAGS) -c $< -o $@ c@27: c@27: o/vampipe-convert.o: utilities/vampipe-convert.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h c@23: c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ c@23: c@31: o/vampipe-server.o: utilities/vampipe-server.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h c@31: c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ c@31: c@27: o/json-to-capnp.o: utilities/json-to-capnp.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h c@8: c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ c@8: c@27: o/json-cli.o: utilities/json-cli.cpp json/VampJson.h c@8: c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ c@8: c@8: test: all c@8: VAMP_PATH=./vamp-plugin-sdk/examples test/test-json-cli.sh c@8: VAMP_PATH=./vamp-plugin-sdk/examples test/test-json-to-capnp.sh c@8: c@8: clean: c@27: rm -f */*.o capnproto/vamp.capnp.h capnproto/vamp.capnp.c++ c@8: c@8: distclean: clean c@8: rm -f bin/* c@8: