BSDmakefile | 4 ---- GNUmakefile | 4 ---- common.mk => Makefile | 3 +++ diff --git a/BSDmakefile b/BSDmakefile deleted file mode 100644 index 148fb82f8f709ad6be51726f7ce6424f6cdd78de884166fd80ee43c752a4cc00..0000000000000000000000000000000000000000 --- a/BSDmakefile +++ /dev/null @@ -1,4 +0,0 @@ -GOPATH != pwd -VERSION != cat VERSION - -include common.mk diff --git a/GNUmakefile b/GNUmakefile deleted file mode 100644 index aa473484fbdce0ba0f0a563adfcf34bbc8883a56f4f1f0a0ef036fb6fe106229..0000000000000000000000000000000000000000 --- a/GNUmakefile +++ /dev/null @@ -1,4 +0,0 @@ -GOPATH = $(shell pwd) -VERSION = $(shell cat VERSION) - -include common.mk diff --git a/common.mk b/Makefile rename from common.mk rename to Makefile index 4718f8bfdccf23612558af7150853ae2c2247643ac2ff2cbcd8bc9ee36b5d499..a9ea7160735f9bda4138d3775afb8bda5ad394c06dfc3b6e75f9f5567487b289 100644 --- a/common.mk +++ b/Makefile @@ -1,3 +1,6 @@ +GOPATH != pwd +VERSION != cat VERSION + MOD = go.cypherpunks.ru/gogost/v4 LDFLAGS = -X $(MOD).Version=$(VERSION)