diff --git a/Makefile b/Makefile index 1da8c3997..89111d67b 100644 --- a/Makefile +++ b/Makefile @@ -26,9 +26,11 @@ plugin-c/blockchain.o: plugin-c/proto/msg.pb.h protoc --cpp_out=. $< .PHONY: install clean + +PLUGIN_NAMESPACE := blockchain-k-plugin install: @mkdir -p $(PREFIX) - cp plugin/* $(PREFIX) + cp plugin/* $(PREFIX)/$(PLUGIN_NAMESPACE) clean: rm -rf */*.o */*/*.o plugin/proto/*.pb.* build deps/libff/build