From bd7b47c7d6d14110c7b083c2e2af4085cb64c148 Mon Sep 17 00:00:00 2001 From: Jan Brittenson Date: Mon, 27 Sep 1993 07:26:19 -0700 Subject: [PATCH] (bi-arity.h, bc-opcode.h, bc-opname.h): Use move-if-changed. (stamp-bc-arity, stamp-bc-opcode, stamp-bc-opname): New targets. From-SVN: r5485 --- gcc/Makefile.in | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 461690c0ec5..201a6ac5e23 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1317,17 +1317,23 @@ bi-reverse.o: bi-reverse.c $(srcdir)/bi-defs.h $(srcdir)/bi-reverse.c -bc-arity.h: $(srcdir)/bytecode.def bi-arity +bc-arity.h: stamp-bc-arity ; @true +stamp-bc-arity : $(srcdir)/bytecode.def bi-arity $(srcdir)/move-if-change -rm -f bc-arity.h - ./bi-arity < $(srcdir)/bytecode.def > bc-arity.h + ./bi-arity < $(srcdir)/bytecode.def >tmp-bc-arity.h + $(srcdir)/move-if-change tmp-bc-arity.h bc-arity.h -bc-opcode.h: $(srcdir)/bytecode.def bi-opcode +bc-opcode.h: stamp-bc-opcode ; @true +stamp-bc-opcode : $(srcdir)/bytecode.def bi-opcode $(srcdir)/move-if-change -rm -f bc-opcode.h - ./bi-opcode < $(srcdir)/bytecode.def > bc-opcode.h + ./bi-opcode < $(srcdir)/bytecode.def >tmp-bc-opcode.h + $(srcdir)/move-if-change tmp-bc-opcode.h bc-opcode.h -bc-opname.h: $(srcdir)/bytecode.def bi-opname +bc-opname.h: stamp-bc-opname ; @true +stamp-bc-opname : $(srcdir)/bytecode.def bi-opname $(srcdir)/move-if-change -rm -f bc-opname.h - ./bi-opname < $(srcdir)/bytecode.def > bc-opname.h + ./bi-opname < $(srcdir)/bytecode.def >tmp-bc-opname.h + $(srcdir)/move-if-change tmp-bc-opname.h bc-opname.h bytecode.mostlyclean: -rm -f bc-arity.h bc-opcode.h bc-opname.h