CLIENT_MAIN=Client/main.go
|
|
|
|
BUILD=go build -o
|
|
BUILD32=env GOARCH=386 go build
|
|
|
|
LINUX_LDFLAGS=--ldflags "-s -w -extldflags=-static"
|
|
|
|
LINUX_ENV=env GOOS=linux GOARCH=amd64
|
|
LINUX_ENV32=env GOOS=linux GOARCH=386
|
|
|
|
LINUX_OUT=tjpkg
|
|
|
|
build:
|
|
${LINUX_ENV} ${BUILD} ${LINUX_OUT} ${CLIENT_MAIN}
|