X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=GNUmakefile;h=79efdfc08c749e956eb3812594a8386a93567d04;hb=af6c4f9ee3597c29c01793407c3be250ea91de50;hp=1bcb1be686401b7fd212d8d14549402f7b25c670;hpb=62cb16b579fa8a6e92c9ed73ae0349d412b8dd3a;p=nncp.git diff --git a/GNUmakefile b/GNUmakefile index 1bcb1be..79efdfc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,14 +1,4 @@ +GOPATH = $(shell pwd) VERSION = $(shell cat VERSION) -GO ?= go - -GO_MOD_EXISTS = $(shell $(GO) help mod >/dev/null 2>&1 || echo no) - -ifeq ($(GO_MOD_EXISTS), no) -BUILDMOD ?= -GOPATH ?= $(PWD) -else -BUILDMOD ?= -mod=vendor -GOPATH ?= $(PWD)/gopath -endif include common.mk