update makefile

This commit is contained in:
Lei Xue
2018-11-18 17:26:13 +08:00
parent 567c697499
commit 8af6a91545
6 changed files with 18 additions and 110 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
BIN_DIR=_output/cmd/bin
all: init build
build: init
go build -o ${BIN_DIR}/gotgt gotgt.go
verify:
hack/verify-gofmt.sh
init:
mkdir -p ${BIN_DIR}
clean:
rm -fr ${BIN_DIR}
.PHONY: clean