From: Michael Stapelberg Date: Mon, 9 Nov 2009 20:29:54 +0000 (+0100) Subject: Only evaluate the $(shell) expansions once in Makefiles X-Git-Tag: 3.d~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da9de671baac88fd26c3c99dfa541341b0308517;p=i3%2Fi3 Only evaluate the $(shell) expansions once in Makefiles --- 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