ceremonyclient/go-libp2p-blossomsub/pb/Makefile
2023-07-07 01:07:10 -05:00

11 lines
161 B
Makefile

PB = $(wildcard *.proto)
GO = $(PB:.proto=.pb.go)
all: $(GO)
%.pb.go: %.proto
protoc --go_out=paths=source_relative:. $<
clean:
rm -f *.pb.go
rm -f *.go