X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=GNUmakefile;h=79efdfc08c749e956eb3812594a8386a93567d04;hb=c8b26fe06596d26bdb14c5be85760fb3ddb197b3;hp=1bcb1be686401b7fd212d8d14549402f7b25c670;hpb=c02b6ec53df89db57be38df3f08ec4dbf4477c58;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