diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-08-14 22:40:01 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-08-14 22:40:01 +0000 |
commit | 440976accd977739442f0a47bf5f607661b84211 (patch) | |
tree | 008137ca855c44a38c9210afb490b4a5f88de494 /gnu/usr.bin/cc | |
parent | 95fecd2fa7e003a97fd090a0df236fd4f91eb096 (diff) | |
download | src-440976accd977739442f0a47bf5f607661b84211.tar.gz src-440976accd977739442f0a47bf5f607661b84211.zip |
Rather than deleting the grammer files during building, move them out of the
way. This way they are available for inspection when debugging problems.
Notes
Notes:
svn path=/head/; revision=49810
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index bdcb85b46cee..76661191d93a 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.33 1999/07/28 07:19:38 obrien Exp $ +# $Id: Makefile,v 1.34 1999/07/28 07:22:06 obrien Exp $ # # @@ -103,10 +103,10 @@ c-parse.c c-parse.h: c-parse.in -e "/^ifc$$/d" -e "/^end ifc$$/d" \ ${GCCDIR}/c-parse.in > c-parse.y ${YACC} -d -o c-parse.c c-parse.y - rm -f c-parse.y + mv c-parse.y c-parse.y.out GENSRCS+= c-parse.c c-parse.h -CLEANFILES+= c-parse.y # insurance +CLEANFILES+= c-parse.y c-parse.y.out # insurance #----------------------------------------------------------------------- # objc parser @@ -116,10 +116,10 @@ objc-parse.c objc-parse.h: c-parse.in -e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \ ${GCCDIR}/c-parse.in > objc-parse.y ${YACC} -d -o objc-parse.c objc-parse.y - rm -f objc-parse.y + mv objc-parse.y objc-parse.y.out GENSRCS+= objc-parse.c objc-parse.h -CLEANFILES+= objc-parse.y # insurance +CLEANFILES+= objc-parse.y objc-parse.y.out # insurance #----------------------------------------------------------------------- # C++ parser done in its own makefile |