mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 19:07:48 +08:00
The separation of work in the p2p pkg is as follows: - net implements the Swarm and connectivity - protocol has muxer and header protocols - host implements protocol muxing + services - identify took over handshake completely! yay. - p2p package works as a whole
12 lines
191 B
Makefile
12 lines
191 B
Makefile
|
|
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
|