Mercurial > hg > piper-cpp
comparison Makefile @ 115:5a716f08e4be
Debug
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 27 Oct 2016 10:28:10 +0100 |
parents | 6fad5154778e |
children | d15cb1151d76 |
comparison
equal
deleted
inserted
replaced
114:95c94a86c902 | 115:5a716f08e4be |
---|---|
1 | 1 |
2 VAMPSDK_DIR := ../vamp-plugin-sdk | 2 VAMPSDK_DIR := ../vamp-plugin-sdk |
3 PIPER_DIR := ../piper | 3 PIPER_DIR := ../piper |
4 | 4 |
5 CXXFLAGS := -Wall -Wextra -Werror -g3 -std=c++11 | 5 CXXFLAGS := -Wall -Wextra -Werror -g3 -std=c++11 |
6 INCFLAGS := -I$(VAMPSDK_DIR) -I. -I/usr/local/include | 6 INCFLAGS := -I$(VAMPSDK_DIR) -I. -I/usr/local/include -I../sv-dependency-builds/win32-mingw/include |
7 | 7 |
8 LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj -ldl | 8 LDFLAGS := -L../sv-dependency-builds/win32-mingw/lib -L../../vamp-plugin-sdk -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj |
9 | 9 |
10 all: o bin bin/piper-convert bin/piper-vamp-server | 10 all: o bin bin/piper-convert bin/piper-vamp-server |
11 | 11 |
12 bin: | 12 bin: |
13 mkdir bin | 13 mkdir bin |
19 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) | 19 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) |
20 | 20 |
21 bin/piper-vamp-server: o/server.o o/piper.capnp.o | 21 bin/piper-vamp-server: o/server.o o/piper.capnp.o |
22 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) | 22 c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) |
23 | 23 |
24 vamp-capnp/piper.capnp.h: $(PIPER_DIR)/capnp/piper.capnp | 24 #vamp-capnp/piper.capnp.h: $(PIPER_DIR)/capnp/piper.capnp |
25 capnp compile -oc++:vamp-capnp --src-prefix=$(PIPER_DIR)/capnp $< | 25 # capnp compile -oc++:vamp-capnp --src-prefix=$(PIPER_DIR)/capnp $< |
26 | 26 |
27 o/piper.capnp.o: vamp-capnp/piper.capnp.c++ vamp-capnp/piper.capnp.h | 27 o/piper.capnp.o: vamp-capnp/piper.capnp.c++ vamp-capnp/piper.capnp.h |
28 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ | 28 c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ |
29 | 29 |
30 o/json11.o: json11/json11.cpp | 30 o/json11.o: json11/json11.cpp |