summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-01-06 02:07:35 +0000
committersteve <steve@FreeBSD.org>1997-01-06 02:07:35 +0000
commiteac436398b5d26a9c255e7e519485f67d0360421 (patch)
tree500df5bc3c15e975b76aeafe611a20ac9535af1f /share/mk
parent1b086b5eb34e706aa2c425ee82f30e7c5262a46b (diff)
downloadFreeBSD-src-eac436398b5d26a9c255e7e519485f67d0360421.zip
FreeBSD-src-eac436398b5d26a9c255e7e519485f67d0360421.tar.gz
Make the .y.c rule 'make -j n' friendly.
Inspired by: bde and brian@mediacity.com
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/sys.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 510c244..fc24333 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.17 1996/11/03 03:25:50 steve Exp $
+# $Id: sys.mk,v 1.18 1996/11/07 01:46:47 alex Exp $
unix ?= We run FreeBSD, not UNIX.
@@ -190,10 +190,8 @@ YFLAGS ?= -d
${CC} ${CFLAGS} -c ${.PREFIX}.tmp.c -o ${.TARGET}
rm -f ${.PREFIX}.tmp.c
-# XXX not -j safe
.y.c:
- ${YACC} ${YFLAGS} ${.IMPSRC}
- mv y.tab.c ${.TARGET}
+ ${YACC} ${YFLAGS} -o ${.TARGET} ${.IMPSRC}
.l.c:
${LEX} -t ${LFLAGS} ${.IMPSRC} > ${.TARGET}
OpenPOWER on IntegriCloud