From 59c6d501daffb0a89f11ca984df7ad7c53835f4a Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Fri, 5 Sep 2008 15:21:24 +0000
Subject: [PATCH] Add explicit rule for building version.o.  Needed if you do
 parallel makes and lisp.a gets built before lisp.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

(From Jürgen Hötzel.)
---
 lisp/GNUmakefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/GNUmakefile b/lisp/GNUmakefile
index 0d676d5ba..e34789853 100644
--- a/lisp/GNUmakefile
+++ b/lisp/GNUmakefile
@@ -1,4 +1,4 @@
-# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.28 2008/01/18 14:31:50 rtoy Exp $
+# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.29 2008/09/05 15:21:24 rtoy Exp $
 
 all: lisp.nm
 
@@ -30,10 +30,12 @@ lisp.nm: lisp lisp.a
 	$(NM) lisp | grep -v " [F] " >> ,lisp.nm
 	mv ,lisp.nm lisp.nm
 
-lisp: version.c ${OBJS} version
+version.o : version.c version
 	echo '1 + ' `cat version` | bc > ,version
 	mv ,version version
 	$(CC) ${CFLAGS} -DVERSION=`cat version` -c $<
+
+lisp: ${OBJS} version.o
 	$(CC) -g ${OS_LINK_FLAGS} -o ,lisp \
 		${OBJS} version.o \
 		${OS_LIBS} -lm
-- 
GitLab