reference file.y not file.c in make rules. this stops the need to set CLEANFILES.

This commit is contained in:
mrg 1998-04-02 06:39:51 +00:00
parent 0ef88905fc
commit 5b01eeeebb
3 changed files with 6 additions and 13 deletions

View File

@ -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"

View File

@ -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..

View File

@ -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