mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-14 04:05:17 +00:00
12 lines
222 B
Makefile
12 lines
222 B
Makefile
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
|
|
|
|
clean:
|
|
rm -f *.pb.go
|
|
rm -f *.go
|