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 c@116: INCFLAGS := -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@75: all: o bin bin/piper-convert bin/piper-vamp-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@116: bin/piper-vamp-server: o/server.o o/json11.o o/piper.capnp.o c@31: c++ $(CXXFLAGS) $^ -o $@ $(LDFLAGS) c@31: c@115: #vamp-capnp/piper.capnp.h: $(PIPER_DIR)/capnp/piper.capnp c@115: # capnp compile -oc++:vamp-capnp --src-prefix=$(PIPER_DIR)/capnp $< c@8: 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: c@75: o/json11.o: 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@116: o/server.o: vamp-server/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 c@75: test/test-server.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