ceremonyclient/node/protobufs/Makefile
2023-09-03 18:47:09 -05:00

12 lines
184 B
Makefile

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