Mercurial > hg > piper-cpp
comparison Makefile @ 125:ea06fae1567c
Rename server to simple-server, and add some more description in usage
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 28 Oct 2016 11:08:17 +0100 |
parents | ff3fd8d1b2dc |
children | bf8e3e7dd7de |
comparison
equal
deleted
inserted
replaced
124:4ff643c1eccc | 125:ea06fae1567c |
---|---|
8 #LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj | 8 #LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj |
9 LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -lcapnp -lkj | 9 LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -lcapnp -lkj |
10 | 10 |
11 LDFLAGS += -ldl | 11 LDFLAGS += -ldl |
12 | 12 |
13 all: o bin bin/piper-convert bin/piper-vamp-server | 13 all: o bin bin/piper-convert bin/piper-vamp-simple-server |
14 | 14 |
15 bin: | 15 bin: |
16 mkdir bin | 16 mkdir bin |
17 | 17 |
18 o: | 18 o: |
19 mkdir o | 19 mkdir o |
20 | 20 |
21 bin/piper-convert: o/convert.o o/json11.o o/piper.capnp.o | 21 bin/piper-convert: o/convert.o o/json11.o o/piper.capnp.o |
22 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) | 22 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) |
23 | 23 |
24 bin/piper-vamp-server: o/server.o o/json11.o o/piper.capnp.o | 24 bin/piper-vamp-simple-server: o/simple-server.o o/json11.o o/piper.capnp.o |
25 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) | 25 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) |
26 | 26 |
27 #vamp-capnp/piper.capnp.h: $(PIPER_DIR)/capnp/piper.capnp | 27 #vamp-capnp/piper.capnp.h: $(PIPER_DIR)/capnp/piper.capnp |
28 # capnp compile -oc++:vamp-capnp --src-prefix=$(PIPER_DIR)/capnp $< | 28 # capnp compile -oc++:vamp-capnp --src-prefix=$(PIPER_DIR)/capnp $< |
29 | 29 |
34 c++ $(CXXFLAGS) -c $< -o $@ | 34 c++ $(CXXFLAGS) -c $< -o $@ |
35 | 35 |
36 o/convert.o: vamp-server/convert.cpp vamp-capnp/piper.capnp.h vamp-capnp/VampnProto.h vamp-json/VampJson.h | 36 o/convert.o: vamp-server/convert.cpp vamp-capnp/piper.capnp.h vamp-capnp/VampnProto.h vamp-json/VampJson.h |
37 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ | 37 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ |
38 | 38 |
39 o/server.o: vamp-server/server.cpp vamp-capnp/piper.capnp.h vamp-capnp/VampnProto.h vamp-json/VampJson.h | 39 o/simple-server.o: vamp-server/simple-server.cpp vamp-capnp/piper.capnp.h vamp-capnp/VampnProto.h vamp-json/VampJson.h |
40 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ | 40 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ |
41 | 41 |
42 test: all | 42 test: all |
43 test/test-server.sh | 43 test/test-server.sh |
44 | 44 |