c@75: c@75: VAMPSDK_DIR := ../vamp-plugin-sdk c@75: PIPER_DIR := ../piper c@8: c@103: CXXFLAGS := -Wall -Wextra -Werror -g3 -std=c++11 cannam@150: INCFLAGS := -Iext -I$(VAMPSDK_DIR) -I. -I/usr/local/include c@116: c@118: #LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj c@118: LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -lcapnp -lkj c@116: c@116: LDFLAGS += -ldl c@8: c@125: all: o bin bin/piper-convert bin/piper-vamp-simple-server c@32: c@75: bin: c@75: mkdir bin c@23: c@75: o: c@75: mkdir o c@75: c@75: bin/piper-convert: o/convert.o o/json11.o o/piper.capnp.o c@23: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) c@8: c@125: bin/piper-vamp-simple-server: o/simple-server.o o/json11.o o/piper.capnp.o c@31: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) c@31: c@75: o/piper.capnp.o: vamp-capnp/piper.capnp.c++ vamp-capnp/piper.capnp.h c@37: c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ c@27: cannam@150: o/json11.o: ext/json11/json11.cpp c@27: c++ $(CXXFLAGS) -c $< -o $@ c@27: c@75: o/convert.o: vamp-server/convert.cpp vamp-capnp/piper.capnp.h vamp-capnp/VampnProto.h vamp-json/VampJson.h c@23: c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ c@23: c@125: o/simple-server.o: vamp-server/simple-server.cpp vamp-capnp/piper.capnp.h vamp-capnp/VampnProto.h vamp-json/VampJson.h c@31: c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ c@31: c@8: test: all cannam@150: vamp-server/test.sh c@8: c@8: clean: c@118: rm -f */*.o c@8: c@8: distclean: clean c@8: rm -f bin/* c@8: c@70: # cancel implicit rule which otherwise could try to link %.capnp c@70: %: %.o