From da9de671baac88fd26c3c99dfa541341b0308517 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 9 Nov 2009 21:29:54 +0100 Subject: [PATCH] Only evaluate the $(shell) expansions once in Makefiles --- common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index 059f9b2f..70305148 100644 --- a/common.mk +++ b/common.mk @@ -1,8 +1,8 @@ UNAME=$(shell uname) DEBUG=1 INSTALL=install -GIT_VERSION=$(shell git describe --tags --always) -VERSION=$(shell git describe --tags --abbrev=0) +GIT_VERSION:=$(shell git describe --tags --always) +VERSION:=$(shell git describe --tags --abbrev=0) CFLAGS += -std=c99 CFLAGS += -pipe -- 2.39.5