diff Makefile @ 31:b376ab0ce003

Begin server
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 24 May 2016 16:30:01 +0100
parents cc85c2851605
children 2d97883d20df
line wrap: on
line diff
--- a/Makefile	Tue May 24 15:38:50 2016 +0100
+++ b/Makefile	Tue May 24 16:30:01 2016 +0100
@@ -3,11 +3,14 @@
 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 bin/vampipe-convert
+all:	bin/vamp-json-cli bin/vamp-json-to-capnp bin/vampipe-convert bin/vampipe-server
 
 bin/vampipe-convert: o/vampipe-convert.o o/json11.o o/vamp.capnp.o
 	c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
 
+bin/vampipe-server: o/vampipe-server.o o/vamp.capnp.o
+	c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
+
 bin/vamp-json-to-capnp:	o/json-to-capnp.o o/json11.o
 	c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
 
@@ -26,6 +29,9 @@
 o/vampipe-convert.o:	utilities/vampipe-convert.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h
 	c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
 
+o/vampipe-server.o:	utilities/vampipe-server.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h 
+	c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
+
 o/json-to-capnp.o:	utilities/json-to-capnp.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h
 	c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@