From b46cc93f6f2747baaa8d47544125e66e9c29317e Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Wed, 3 Oct 2018 13:42:32 +0200 Subject: [PATCH] Fix variable dependencies --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 41f8962..629e23d 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ GOARCH = $(shell go env GOARCH) LIBRARY = $(GOPATH)/pkg/$(GOOS)_$(GOARCH)/$(PACKAGE).a -.PHONY: all clean .version.new +.PHONY: all clean all: $(LIBRARY) @@ -21,7 +21,7 @@ $(LIBRARY): $(SOURCES) go install $(PACKAGE) .version.new: - -@printf "%s\n%s\n%s" "$(VERSION)" "$(REVISION)" >$@ + -@printf "%s\n" "$(VERSION)" "$(REVISION)" >$@ .version: .version.new -@diff $@ $< >/dev/null 2>&1 && rm $< || mv $< $@