X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=common.mk;h=c4bb97d0b9dffa509a2cc721e5df66cb2814f776;hb=7d43d5553eb4514fae95200be4033cbe6757b14f;hp=e528f9a5f2c290b606693b7b60db951312b26e81;hpb=5994afa76e1965002dd953de231059f3d5caf25e;p=gogost.git diff --git a/common.mk b/common.mk index e528f9a..c4bb97d 100644 --- a/common.mk +++ b/common.mk @@ -1,12 +1,13 @@ -LDFLAGS = -X cypherpunks.ru/gogost.Version=$(VERSION) +MOD = go.cypherpunks.ru/gogost/v4 +LDFLAGS = -X $(MOD).Version=$(VERSION) all: streebog256 streebog512 streebog256: - GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/streebog256 + GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog256 streebog512: - GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/streebog512 + GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog512 bench: - GOPATH=$(GOPATH) go test -benchmem -bench . cypherpunks.ru/gogost/... + GOPATH=$(GOPATH) go test -benchmem -bench . $(MOD)/...