Commit 59c6d501 authored by rtoy's avatar rtoy
Browse files

Add explicit rule for building version.o. Needed if you do parallel

makes and lisp.a gets built before lisp.

(From Jürgen Hötzel.)
parent bf5c96da
# $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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment