Files
gotgt/Makefile
Utkarsh Mani Tripathi e73507f461 add target to install dependency
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
2019-11-28 13:20:58 +05:30

24 lines
285 B
Makefile

BIN_DIR=_output/cmd/bin
all: init build
deps:
dep ensure
build: init
go build -o ${BIN_DIR}/gotgt gotgt.go
build-nocgo: init
CGO_ENABLED=0 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