From c10ff123cd90bf13ba737ec5ecb632accbffc7fa Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 15 Nov 2024 20:59:55 -0600 Subject: sending a machine protobuf --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4c97719..db4d2a7 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # go install -all: package.pb.go +all: package.pb.go machine.pb.go make -C example vet: lint @@ -36,3 +36,9 @@ package.pb.go: package.proto cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/zoopb \ --go_opt=Mpackage.proto=go.wit.com/lib/protobuf/zoopb \ package.proto + +machine.pb.go: machine.proto + cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/zoopb \ + --go_opt=Mpackage.proto=go.wit.com/lib/protobuf/zoopb \ + --go_opt=Mmachine.proto=go.wit.com/lib/protobuf/zoopb \ + machine.proto -- cgit v1.2.3