風神「嵐の日」
git-svn-id: file:///srv/svn/repo/aya/trunk@89 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,11 +1,12 @@
|
||||
DESTDIR ?=
|
||||
GOFLAGS ?= -v -buildvcs=false -mod=vendor -buildmode=exe -ldflags "-w -X `go list`.Date=${DATE} -X `go list`.Vendor=${GOOS} -X `go list`.Version=${VERSION}"
|
||||
GO ?= go
|
||||
GOFLAGS ?= -v -buildvcs=false -buildmode=exe -ldflags "-w -X `${GO} list`.Date=${DATE} -X `${GO} list`.Vendor=${GOOS} -X `${GO} list`.Version=${VERSION}"
|
||||
PREFIX ?= /usr/local
|
||||
DATE ?= `date -u +%F`
|
||||
GOOS ?= `go env GOOS`
|
||||
VERSION ?= `git describe --tags`
|
||||
GOOS ?= `${GO} env GOOS`
|
||||
VERSION ?= 1.0F
|
||||
build:
|
||||
go build ${GOFLAGS} ./cmd/aya
|
||||
${GO} build ${GOFLAGS} ./cmd/aya
|
||||
clean:
|
||||
rm -f aya
|
||||
dist:
|
||||
|
||||
Reference in New Issue
Block a user