X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=common.mk;h=c4bb97d0b9dffa509a2cc721e5df66cb2814f776;hb=7da9d112af869533c29ab19cee07013e94c8fac2;hp=5d59e850bb60113c635711f9da9e5f9bf0951aa9;hpb=0c90f3181c01f68c4f2c986b02cda16dba85521b;p=gogost.git diff --git a/common.mk b/common.mk index 5d59e85..c4bb97d 100644 --- a/common.mk +++ b/common.mk @@ -1,7 +1,13 @@ -LDFLAGS = -X cypherpunks.ru/gogost.Version=$(VERSION) +MOD = go.cypherpunks.ru/gogost/v4 +LDFLAGS = -X $(MOD).Version=$(VERSION) -gogost-streebog: - GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/gost34112012/cmd/gogost-streebog +all: streebog256 streebog512 + +streebog256: + GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog256 + +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)/...