diff options
author | pst <pst@FreeBSD.org> | 1997-05-01 16:24:37 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-05-01 16:24:37 +0000 |
commit | dded68c16d0aacdde8a9c62f5ad9fdc24292a974 (patch) | |
tree | bafd7bad3bcef1673ceaef9978f5ef462d560fe8 /gnu/usr.bin/gdb | |
parent | 72be0dfd4cb9f8ae32a6172534e99aadc59ff86b (diff) | |
download | FreeBSD-src-dded68c16d0aacdde8a9c62f5ad9fdc24292a974.zip FreeBSD-src-dded68c16d0aacdde8a9c62f5ad9fdc24292a974.tar.gz |
Clean up merge from 2.2 (without spamming peter's changes)
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r-- | gnu/usr.bin/gdb/gdb/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/usr.bin/gdb/gdb/Makefile b/gnu/usr.bin/gdb/gdb/Makefile index 8a8fc51..c9e751e 100644 --- a/gnu/usr.bin/gdb/gdb/Makefile +++ b/gnu/usr.bin/gdb/gdb/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.25 1997/05/01 00:26:43 pst Exp $ +# $Id: Makefile,v 1.26 1997/05/01 13:40:57 peter Exp $ PROG = gdb @@ -38,7 +38,7 @@ CFLAGS+= -DNO_MMALLOC # uncomment the next line if you want to debug gdb #CFLAGS+= -g -CLEANFILES+= c-exp.c f-exp.c m2-exp.c init.c y.tab.h +CLEANFILES+= c-exp.c f-exp.c m2-exp.c init.c y.tab.h init.c-tmp beforedepend: c-exp.c f-exp.c m2-exp.c init.c .if exists(${.OBJDIR}/../bfd) @@ -83,8 +83,7 @@ DPADD+= ${.CURDIR}/../libiberty/libiberty.a # object files that will be linked into gdb. init.c: ${XSRCS} - @echo Making init.c - echo ${.ALLSRC} + @echo Making ${.TARGET} @rm -f init.c-tmp @echo '/* Do not modify this file. */' >init.c-tmp @echo '/* It is created automatically by the Makefile. */'>>init.c-tmp @@ -110,9 +109,7 @@ init.c: ${XSRCS} esac ; \ done @echo '}' >>init.c-tmp - @mv init.c-tmp init.c - -CLEANFILES+= init.c-tmp + @mv init.c-tmp ${.TARGET} .PRECIOUS: init.c |