diff --git a/Makefile b/Makefile index 98f6fbb..a6989df 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ GO ?= go RM ?= rm SCDOC ?= scdoc -GOFLAGS ?= -v -ldflags "-w -X `go list`.Version=$(VERSION) -X `go list`.Commit=$(COMMIT) -X `go list`.Build=$(BUILD)" +GOFLAGS ?= -v -ldflags "-w -X `go list`.Version=$(VERSION) -X `go list`.Commit=$(COMMIT) -X `go list`.Build=$(BUILD)" -tags "static_build" PREFIX ?= /usr/local BINDIR ?= bin MANDIR ?= share/man @@ -13,6 +13,9 @@ COMMIT = `git rev-parse --short HEAD || echo "$COMMIT"` BRANCH = `git rev-parse --abbrev-ref HEAD` BUILD = `git show -s --pretty=format:%cI` +GOARCH ?= amd64 +GOOS ?= linux + all: suika suikactl suika-znc-import doc/suika.1 suika: