Update Makefile
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:
parent
74bd722881
commit
dcacd77958
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
NAME=gost
|
NAME=gost
|
||||||
BINDIR=bin
|
BINDIR=bin
|
||||||
VERSION=$(shell cat gost.go | grep 'Version =' | sed 's/.*\"\(.*\)\".*/\1/g')
|
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/*
|
GOFILES=cmd/gost/*
|
||||||
|
|
||||||
PLATFORM_LIST = \
|
PLATFORM_LIST = \
|
||||||
|
Loading…
Reference in New Issue
Block a user