]> Cypherpunks.ru repositories - gogost.git/blob - Makefile
Download link for 4.2.2 release
[gogost.git] / Makefile
1 GOPATH != pwd
2 VERSION != cat VERSION
3
4 MOD = go.cypherpunks.ru/gogost/v4
5 LDFLAGS = -X $(MOD).Version=$(VERSION)
6
7 all: streebog256 streebog512
8
9 streebog256:
10         GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog256
11
12 streebog512:
13         GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog512
14
15 bench:
16         GOPATH=$(GOPATH) go test -benchmem -bench . $(MOD)/...