give lex.cpp expclit dependancies for generated files so that "make all" as

well as "make dependall" works.
This commit is contained in:
mrg 2003-07-01 12:38:09 +00:00
parent 314a2bbe7a
commit 7651047e58
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2003/07/01 08:26:30 wiz Exp $
# $NetBSD: Makefile,v 1.5 2003/07/01 12:38:09 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/eqn/Makefile,v 1.4 2003/05/01 13:22:19 ru Exp $
@ -18,5 +18,6 @@ YFLAGS= -d
CLEANFILES= eqn.cpp eqn_tab.h ${SCRIPTS} ${MAN} y.tab.c y.tab.h
eqn_tab.h: eqn.cpp
lex.cpp: eqn_tab.h
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/07/01 08:19:29 mrg Exp $
# $NetBSD: Makefile,v 1.6 2003/07/01 12:38:10 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/pic/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
@ -15,5 +15,6 @@ YFLAGS= -d
CLEANFILES= ${MAN} pic.cpp pic_tab.h y.tab.c y.tab.h
pic_tab.h: pic.cpp
lex.cpp: pic_tab.h
.include <bsd.prog.mk>