This commit is contained in:
2022-02-01 20:12:32 -08:00
committed by user
parent 9dd2682b49
commit 01e9433404
7 changed files with 52 additions and 3 deletions

View File

@@ -1,12 +1,16 @@
PROTOC_GEN_GO := $(GOPATH)/bin/protoc-gen-go
default: compile
default: run
run: compile
./mfer
$(PROTOC_GEN_GO):
go get -u github.com/golang/protobuf/protoc-gen-go
compile: $(PROTOC_GEN_GO)
cd proto && go generate .
cd cmd/mfer && go build
clean:
rm -rfv proto/*.pb.go