]> Cypherpunks.ru repositories - gogost.git/blobdiff - common.mk
Combine {BSD,GNU}makefiles together, as GNU Make 4.0 supports != assignment
[gogost.git] / common.mk
diff --git a/common.mk b/common.mk
deleted file mode 100644 (file)
index c4bb97d..0000000
--- a/common.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-MOD = go.cypherpunks.ru/gogost/v4
-LDFLAGS = -X $(MOD).Version=$(VERSION)
-
-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 . $(MOD)/...