]> Cypherpunks.ru repositories - gogost.git/blob - common.mk
Mention CACert, GOPRIVATE and go.mod-replace during installation
[gogost.git] / common.mk
1 MOD = go.cypherpunks.ru/gogost/v4
2 LDFLAGS = -X $(MOD).Version=$(VERSION)
3
4 all: streebog256 streebog512
5
6 streebog256:
7         GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog256
8
9 streebog512:
10         GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog512
11
12 bench:
13         GOPATH=$(GOPATH) go test -benchmem -bench . $(MOD)/...