Commit b0d0b5fc authored by Juan Batiz-Benet's avatar Juan Batiz-Benet Committed by Brian Tiger Chow

better protobuf Makefile with wildcard.

parent 9849794b
PB = $(wildcard *.proto)
GO = $(PB:.proto=.pb.go)
all: $(GO)
%.pb.go: %.proto
protoc --gogo_out=. --proto_path=../../../../:/usr/local/opt/protobuf/include:. $<
clean:
rm *.pb.go
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment