diff --git a/Makefile b/Makefile index 5ffb097..ccb6aef 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,11 @@ all: get build +release: + CGO_ENABLED=0 GOARCH=amd64 go build -o vcfanno_linux64 --ldflags '-extldflags "-static"' vcfanno.go + GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -o vcfanno_osx --ldflags '-extldflags "-static"' vcfanno.go + get: - go get github.com/brentp/irelate - go get github.com/brentp/irelate/interfaces - go get github.com/brentp/irelate/parsers - go get github.com/brentp/vcfanno/api - go get github.com/brentp/vcfanno/shared - go get github.com/brentp/vcfgo - go get github.com/brentp/xopen + go get -t ./... build: go build -o vcfanno vcfanno.go