ceremonyclient/node/protobufs/Makefile

12 lines
222 B
Makefile
Raw Normal View History

2023-09-03 23:47:09 +00:00
PB = $(wildcard *.proto)
GO = $(PB:.proto=.pb.go)
PWD = $(pwd)
all: $(GO)
%.pb.go: %.proto
protoc -I=. --go-grpc_out=paths=source_relative:. --go_out=paths=source_relative:. *.proto
2023-09-03 23:47:09 +00:00
clean:
rm -f *.pb.go
rm -f *.go