From dc95c94a01a5441752152900a4462a22785b210a Mon Sep 17 00:00:00 2001 From: christos <christos@NetBSD.org> Date: Wed, 14 Oct 1998 12:10:15 +0000 Subject: [PATCH] Fix dependencies for parse.h --- gnu/usr.bin/egcs/cc1plus/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/egcs/cc1plus/Makefile b/gnu/usr.bin/egcs/cc1plus/Makefile index f4047f3c05bf..5a83c38a0054 100644 --- a/gnu/usr.bin/egcs/cc1plus/Makefile +++ b/gnu/usr.bin/egcs/cc1plus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1998/08/17 22:29:56 tv Exp $ +# $NetBSD: Makefile,v 1.9 1998/10/14 12:10:15 christos Exp $ PROG= cc1plus @@ -12,9 +12,11 @@ YHEADER=1 lex.o pt.o spew.o: parse-h parse-h: parse.h - grep '^#define[ ]*YYEMPTY' parse.c >>parse.h @touch parse-h +parse.h: parse.c + grep '^#define[ ]*YYEMPTY' ${.ALLSRC} > ${.TARGET} + # Needs to be before dist/gcc or tree.c comes from the wrong place. .PATH: ${.CURDIR}/../../../dist/gcc/cp