]> Cypherpunks.ru repositories - gogost.git/blobdiff - common.mk
gogost-streebog is split to streebog{256,512} by analogy with sha*
[gogost.git] / common.mk
index d86b24ca093ac586fb9c111e48fb9d1d42370f1a..e528f9a5f2c290b606693b7b60db951312b26e81 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -1,7 +1,12 @@
 LDFLAGS = -X cypherpunks.ru/gogost.Version=$(VERSION)
 
-gogost-streebog:
-       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/gogost-streebog
+all: streebog256 streebog512
+
+streebog256:
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/streebog256
+
+streebog512:
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/streebog512
 
 bench:
        GOPATH=$(GOPATH) go test -benchmem -bench . cypherpunks.ru/gogost/...