diff Makefile @ 23:d678cd00e593

Begin vampipe-convert
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 20 May 2016 18:05:02 +0100
parents c8451896c40e
children cc85c2851605
line wrap: on
line diff
--- a/Makefile	Fri May 20 17:07:04 2016 +0100
+++ b/Makefile	Fri May 20 18:05:02 2016 +0100
@@ -3,7 +3,10 @@
 INCFLAGS	:= -Ivamp-plugin-sdk -Ijson -Icapnproto -I.
 LDFLAGS		:= -Lvamp-plugin-sdk -Wl,-Bstatic -lvamp-hostsdk -Wl,-Bdynamic -lcapnp -lkj -ldl
 
-all:	bin/vamp-json-cli bin/vamp-json-to-capnp
+all:	bin/vamp-json-cli bin/vamp-json-to-capnp bin/vampipe-convert
+
+bin/vampipe-convert: utilities/vampipe-convert.o json/json11/json11.o
+	c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
 
 bin/vamp-json-to-capnp:	utilities/json-to-capnp.o json/json11/json11.o
 	c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
@@ -14,6 +17,9 @@
 capnproto/vamp.capnp.h:	capnproto/vamp.capnp
 	capnp compile $< -oc++
 
+utilities/vampipe-convert.o:	utilities/vampipe-convert.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h
+	c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
+
 utilities/json-to-capnp.o:	utilities/json-to-capnp.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h
 	c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@