diff options
author | steve <steve@FreeBSD.org> | 1997-01-12 04:01:25 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-01-12 04:01:25 +0000 |
commit | e72b85b270ee1b678b4017059e6f05fbce7234e6 (patch) | |
tree | 45497107e3d5d193c9f28a7335d4d832719576ae | |
parent | aa35c90f72beca1b6f791d672979f94e3281bc39 (diff) | |
download | FreeBSD-src-e72b85b270ee1b678b4017059e6f05fbce7234e6.zip FreeBSD-src-e72b85b270ee1b678b4017059e6f05fbce7234e6.tar.gz |
Revert changes to make the .y.c rule 'make -j n' safe.
-rw-r--r-- | share/mk/sys.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index fc24333..5c7d599 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -1,5 +1,5 @@ # from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 -# $Id: sys.mk,v 1.18 1996/11/07 01:46:47 alex Exp $ +# $Id: sys.mk,v 1.19 1997/01/06 02:07:35 steve Exp $ unix ?= We run FreeBSD, not UNIX. @@ -190,8 +190,10 @@ YFLAGS ?= -d ${CC} ${CFLAGS} -c ${.PREFIX}.tmp.c -o ${.TARGET} rm -f ${.PREFIX}.tmp.c +# XXX not -j safe .y.c: - ${YACC} ${YFLAGS} -o ${.TARGET} ${.IMPSRC} + ${YACC} ${YFLAGS} ${.IMPSRC} + mv y.tab.c ${.TARGET} .l.c: ${LEX} -t ${LFLAGS} ${.IMPSRC} > ${.TARGET} |