Files
gotgt/Makefile
Chris Koch f92573fd28 Add ability to build gotgt without cgo
Signed-off-by: Chris Koch <chrisko@google.com>
2019-07-29 12:55:30 -07:00

21 lines
266 B
Makefile

BIN_DIR=_output/cmd/bin
all: init build
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