Update Makefile (#448)

1. Statically linked and reduce size
2. Make it more verbose
3. Force rebuild packages if already up-to-date
This commit is contained in:
Gnought 2019-11-30 19:19:44 +08:00 committed by ginuerzh
parent 74bd722881
commit 2d10654be2

View File

@ -1,7 +1,7 @@
NAME=gost
BINDIR=bin
VERSION=$(shell cat gost.go | grep 'Version =' | sed 's/.*\"\(.*\)\".*/\1/g')
GOBUILD=CGO_ENABLED=0 go build
GOBUILD=CGO_ENABLED=0 go build --ldflags="-s -w" -v -x -a
GOFILES=cmd/gost/*
PLATFORM_LIST = \