Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: zeroalphat <[email protected]>
  • Loading branch information
zeroalphat committed Sep 18, 2023
1 parent 3bd3986 commit 3107bf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ test-go: test-tools
go vet ./...

.PHONY: generate
generate:
generate:
$(MAKE) $(PROTOC_OUTPUTS)

pkg/rpc/necoperf.pb.go: pkg/rpc/necoperf.proto
pkg/rpc/necoperf.pb.go: pkg/rpc/necoperf.proto
$(PROTOC) --go_out=module=github.com/cybozu-go/necoperf:. $<

pkg/rpc/necoperf_grpc.pb.go: pkg/rpc/necoperf.proto
pkg/rpc/necoperf_grpc.pb.go: pkg/rpc/necoperf.proto
$(PROTOC) --go-grpc_out=module=github.com/cybozu-go/necoperf:. $<

docs/necoperf-grpc.md: pkg/rpc/necoperf.proto
docs/necoperf-grpc.md: pkg/rpc/necoperf.proto
$(PROTOC) --doc_out=docs --doc_opt=markdown,$@ $<

##@ Tools
Expand Down

0 comments on commit 3107bf6

Please sign in to comment.