From 5b01eeeebb181de2e282a46d6cce46070d34220a Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 2 Apr 1998 06:39:51 +0000 Subject: [PATCH] reference file.y not file.c in make rules. this stops the need to set CLEANFILES. --- gnu/usr.bin/egcs/cc1/Makefile | 6 ++---- gnu/usr.bin/egcs/cc1obj/Makefile | 6 ++---- gnu/usr.bin/egcs/cpp/Makefile | 7 ++----- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/gnu/usr.bin/egcs/cc1/Makefile b/gnu/usr.bin/egcs/cc1/Makefile index ad63c59640b7..cf7aa4637268 100644 --- a/gnu/usr.bin/egcs/cc1/Makefile +++ b/gnu/usr.bin/egcs/cc1/Makefile @@ -1,8 +1,6 @@ -# $NetBSD: Makefile,v 1.1.1.1 1998/03/29 11:34:23 mrg Exp $ +# $NetBSD: Makefile,v 1.2 1998/04/02 06:39:51 mrg Exp $ PROG= cc1 -SRCS= c-parse.c - -CLEANFILES+= c-parse.c +SRCS= c-parse.y .include "../Makefile.cc1" diff --git a/gnu/usr.bin/egcs/cc1obj/Makefile b/gnu/usr.bin/egcs/cc1obj/Makefile index 77cfee585419..74e50cfa149b 100644 --- a/gnu/usr.bin/egcs/cc1obj/Makefile +++ b/gnu/usr.bin/egcs/cc1obj/Makefile @@ -1,9 +1,7 @@ -# $NetBSD: Makefile,v 1.3 1998/04/01 21:13:24 tv Exp $ +# $NetBSD: Makefile,v 1.4 1998/04/02 06:39:52 mrg Exp $ PROG= cc1obj -SRCS= objc-parse.c objc-act.c - -CLEANFILES+= objc-parse.c +SRCS= objc-parse.y objc-act.c # XXX needs to be before dist/gcc or tree.c comes from the # wrong place.. diff --git a/gnu/usr.bin/egcs/cpp/Makefile b/gnu/usr.bin/egcs/cpp/Makefile index e3e00ef1ca91..83defc79e579 100644 --- a/gnu/usr.bin/egcs/cpp/Makefile +++ b/gnu/usr.bin/egcs/cpp/Makefile @@ -1,16 +1,13 @@ # from: @(#)Makefile 6.4 (Berkeley) 2/21/91 -# $NetBSD: Makefile,v 1.4 1998/04/01 01:50:02 tv Exp $ +# $NetBSD: Makefile,v 1.5 1998/04/02 06:45:53 mrg Exp $ PROG= cpp BINDIR= /usr/libexec -SRCS= cccp.c cexp.c obstack.c version.c +SRCS= cccp.c cexp.y obstack.c version.c CPPFLAGS+= \ -DGCC_INCLUDE_DIR=\"\" \ -DTOOL_INCLUDE_DIR=\"\" \ -DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\" -YFLAGS= - -CLEANFILES+= cexp.c LINKS= /usr/bin/cpp /usr/bin/gcpp FILES=usr.bin.cpp.sh