github.com/SupersunnySea/draft@v0.16.0/pkg/storage/Makefile (about) 1 google_deps = Mgoogle/protobuf/timestamp.proto=github.com/golang/protobuf/ptypes/timestamp 2 includes = ../../vendor/protobuf-include/include/ 3 target = go 4 plugins = 5 deps = $(google_deps) 6 dst = . 7 8 .PHONY: proto 9 proto: 10 protoc -I=$(includes):. --$(target)_out=plugins=$(plugins),$(deps):$(dst) *.proto 11 12 .PHONY: clean 13 clean: 14 rm *.pb.go