summaryrefslogtreecommitdiff
path: root/protobuf/Makefile
blob: 35a9d9c67d7bbd57de16cf3dd868ab45cf8e1f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all:
	protoc --version
	make dnsmessage.pb.go

clean:
	rm -f *.pb.go

dnsmessage.pb.go: dnsmessage.proto
	protoc --go_out=. dnsmessage.proto

compile:
	protoc --go_out=. *.proto

deps:
	apt install golang-goprotobuf-dev
	apt install protobuf-compiler

push:
	git pull
	git add --all
	git commit -a -s
	git push