8 lines
131 B
Makefile
8 lines
131 B
Makefile
|
LDFLAGS?=--ldflags '-extldflags "-static"'
|
||
|
export CGO_ENABLED=0
|
||
|
|
||
|
build: decl
|
||
|
|
||
|
decl:
|
||
|
go build -o decl $(LDFLAGS) ./cmd/cli/main.go
|