comparison 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
comparison
equal deleted inserted replaced
30:eb679afcd1bb 31:b376ab0ce003
1 1
2 CXXFLAGS := -Wall -Werror -O3 -std=c++11 2 CXXFLAGS := -Wall -Werror -O3 -std=c++11
3 INCFLAGS := -Ivamp-plugin-sdk -Ijson -Icapnproto -I. 3 INCFLAGS := -Ivamp-plugin-sdk -Ijson -Icapnproto -I.
4 LDFLAGS := -Lvamp-plugin-sdk -Wl,-Bstatic -lvamp-hostsdk -Wl,-Bdynamic -lcapnp -lkj -ldl 4 LDFLAGS := -Lvamp-plugin-sdk -Wl,-Bstatic -lvamp-hostsdk -Wl,-Bdynamic -lcapnp -lkj -ldl
5 5
6 all: bin/vamp-json-cli bin/vamp-json-to-capnp bin/vampipe-convert 6 all: bin/vamp-json-cli bin/vamp-json-to-capnp bin/vampipe-convert bin/vampipe-server
7 7
8 bin/vampipe-convert: o/vampipe-convert.o o/json11.o o/vamp.capnp.o 8 bin/vampipe-convert: o/vampipe-convert.o o/json11.o o/vamp.capnp.o
9 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
10
11 bin/vampipe-server: o/vampipe-server.o o/vamp.capnp.o
9 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) 12 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
10 13
11 bin/vamp-json-to-capnp: o/json-to-capnp.o o/json11.o 14 bin/vamp-json-to-capnp: o/json-to-capnp.o o/json11.o
12 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) 15 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
13 16
24 c++ $(CXXFLAGS) -c $< -o $@ 27 c++ $(CXXFLAGS) -c $< -o $@
25 28
26 o/vampipe-convert.o: utilities/vampipe-convert.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h 29 o/vampipe-convert.o: utilities/vampipe-convert.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h
27 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ 30 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
28 31
32 o/vampipe-server.o: utilities/vampipe-server.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h
33 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
34
29 o/json-to-capnp.o: utilities/json-to-capnp.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h 35 o/json-to-capnp.o: utilities/json-to-capnp.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h
30 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ 36 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
31 37
32 o/json-cli.o: utilities/json-cli.cpp json/VampJson.h 38 o/json-cli.o: utilities/json-cli.cpp json/VampJson.h
33 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ 39 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@