comparison Makefile @ 71:6c908ee3ad3b

vamp -> piper for IDL specs
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 07 Oct 2016 14:27:11 +0100
parents 302a8e35248c
children 81e1c48e97f9
comparison
equal deleted inserted replaced
70:302a8e35248c 71:6c908ee3ad3b
6 6
7 #!!! todo: proper dependencies 7 #!!! todo: proper dependencies
8 8
9 all: bin/vampipe-convert bin/vampipe-server 9 all: bin/vampipe-convert bin/vampipe-server
10 10
11 bin/vampipe-convert: o/vampipe-convert.o o/json11.o o/vamp.capnp.o 11 bin/vampipe-convert: o/vampipe-convert.o o/json11.o o/piper.capnp.o
12 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) 12 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
13 13
14 bin/vampipe-server: o/vampipe-server.o o/vamp.capnp.o 14 bin/vampipe-server: o/vampipe-server.o o/piper.capnp.o
15 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) 15 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
16 16
17 capnproto/vamp.capnp.h: capnproto/vamp.capnp 17 capnproto/piper.capnp.h: capnproto/piper.capnp
18 capnp compile $< -oc++ 18 capnp compile $< -oc++
19 19
20 o/vamp.capnp.o: capnproto/vamp.capnp.c++ capnproto/vamp.capnp.h 20 o/piper.capnp.o: capnproto/piper.capnp.c++ capnproto/piper.capnp.h
21 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ 21 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
22 22
23 o/json11.o: json/json11/json11.cpp 23 o/json11.o: json/json11/json11.cpp
24 c++ $(CXXFLAGS) -c $< -o $@ 24 c++ $(CXXFLAGS) -c $< -o $@
25 25
26 o/vampipe-convert.o: utilities/vampipe-convert.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h json/VampJson.h 26 o/vampipe-convert.o: utilities/vampipe-convert.cpp capnproto/piper.capnp.h capnproto/VampnProto.h json/VampJson.h
27 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ 27 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
28 28
29 o/vampipe-server.o: utilities/vampipe-server.cpp capnproto/vamp.capnp.h capnproto/VampnProto.h 29 o/vampipe-server.o: utilities/vampipe-server.cpp capnproto/piper.capnp.h capnproto/VampnProto.h
30 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ 30 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
31 31
32 test: all 32 test: all
33 test/test-vampipe-server.sh 33 test/test-vampipe-server.sh
34 34
35 clean: 35 clean:
36 rm -f */*.o capnproto/vamp.capnp.h capnproto/vamp.capnp.c++ 36 rm -f */*.o capnproto/piper.capnp.h capnproto/piper.capnp.c++
37 37
38 distclean: clean 38 distclean: clean
39 rm -f bin/* 39 rm -f bin/*
40 40
41 # cancel implicit rule which otherwise could try to link %.capnp 41 # cancel implicit rule which otherwise could try to link %.capnp