mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-27 23:40:11 +08:00
21efed7519
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com> Co-authored-by: Raúl Kripalani <raul@protocol.ai>
11 lines
255 B
Makefile
11 lines
255 B
Makefile
PB = $(wildcard *.proto)
|
|
GO = $(PB:.proto=.pb.go)
|
|
|
|
all: $(GO)
|
|
|
|
%.pb.go: %.proto
|
|
protoc --proto_path=$(PWD):$(PWD)/../..:$(GOPATH)/src --gogofaster_out=Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types:. $<
|
|
|
|
clean:
|
|
rm -f *.pb.go
|
|
rm -f *.go
|