summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-07-19 12:50:34 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-07-19 12:50:34 +0000
commita98649ea9a316bae378f0491bc7c03ff5266248b (patch)
tree3a47ff7d0979a4b26c1fafbf03999299d76cac29 /gnu/usr.bin
parent4f31a6a0da6de21699e3065127f3377c9a010b80 (diff)
more depends gc / yacc rules overhaul
okay millert@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 0771c072b85..4260536c91e 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/usr.bin/cc/cc_tools/Makefile,v 1.88.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.17 2017/07/10 21:30:37 espie Exp $
+# $OpenBSD: Makefile,v 1.18 2017/07/19 12:50:32 espie Exp $
.include <bsd.own.mk>
@@ -378,11 +378,9 @@ GENSRCS+= unwind.h
gengtype-lex.c: gengtype-lex.l
flex -ogengtype-lex.c ${.ALLSRC}
-gengtype-yacc.h: gengtype-yacc.y
+gengtype-yacc.h gengtype-yacc.c: gengtype-yacc.y
yacc -d -o gengtype-yacc.c ${.ALLSRC}
-gengtype-yacc.c: gengtype-yacc.h
-
gengtype-yacc+%DIKED.c: gengtype-yacc.c
cat ${.ALLSRC} > ${.TARGET}
sed -e "s/xmalloc/malloc/g" \