Commit 2d10654b authored by Gnought's avatar Gnought Committed by ginuerzh

Update Makefile (#448)

1. Statically linked and reduce size
2. Make it more verbose
3. Force rebuild packages if already up-to-date
parent 74bd7228
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 = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment