diff options
author | obrien <obrien@FreeBSD.org> | 1999-08-14 22:40:01 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-08-14 22:40:01 +0000 |
commit | 033405c2575370dee6aa91a3feae69cc3bd8cbb7 (patch) | |
tree | 116082d5b6938cfeb178faa01840875f0e116654 /gnu | |
parent | 335166fc5554b4d11648ade585693044e9a72e6b (diff) | |
download | FreeBSD-src-033405c2575370dee6aa91a3feae69cc3bd8cbb7.zip FreeBSD-src-033405c2575370dee6aa91a3feae69cc3bd8cbb7.tar.gz |
Rather than deleting the grammer files during building, move them out of the
way. This way they are available for inspection when debugging problems.
Diffstat (limited to 'gnu')
-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 bdcb85b..7666119 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 |