GO = go GOFLAGS = -v -buildvcs=false -buildmode=exe -ldflags='-w -X "`${GO} list`.Version=${VERSION}" -X "`${GO} list`.Revision=${REVISION}"' VERSION ?= `git describe --tags` REVISION ?= `git rev-list --all | wc -l` build: @${GO} build ${GOFLAGS} -o mikuru ./cmd clean: @rm -f mikuru