aboutsummaryrefslogtreecommitdiff
path: root/pb/Makefile
blob: a666d6c1581a734275c408115400b2e428e5e325 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Generate the Go files from the dns.proto protobuf, you need the utilities
# from: https://github.com/golang/protobuf to make this work.
# The generate dns.pb.go is checked into git, so for normal builds we don't need
# to run this generation step.

all: dns.pb.go

dns.pb.go: dns.proto
	protoc --go_out=plugins=grpc:. dns.proto

.PHONY: clean
clean:
	rm dns.pb.go