Makefile.in: Fix the examples about the use of stamps

* gcc/Makefile.in: Fix the examples about the use of stamps

M    gcc/ChangeLog
M    gcc/Makefile.in

From-SVN: r111113
This commit is contained in:
Rafael Espindola 2006-02-15 18:46:57 +00:00
parent 8f320bb097
commit f7ca46d66f
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2006-02-15 Rafael チvila de Esp匤dola <rafael.espindola@gmail.com>
* Makefile.in: Fix the examples about the use of stamps
2006-02-15 Michael Matz <matz@suse.de>
PR middle-end/22275
@ -3683,7 +3687,7 @@
* basic-block.h: Remove the prototype for
partition_hot_cold_basic_blocks.
2006-01-16 Rafael Ãvila de Espíndola <rafael.espindola@gmail.com>
2006-01-16 Rafael テプila de Espテ<70>スュndola <rafael.espindola@gmail.com>
* cppspec.c (lang_specific_spec_functions): Remove.
* gcc.c (lookup_spec_function): Use static_spec_functions directly.

View file

@ -1134,7 +1134,7 @@ endif
# must not be overwritten with a identical copy. One solution is to use a
# temporary file
# tree-check.h: build/gencheck$(build_exeext)
# $(RUN_GEN) build/gencheck$(build_exeext) > tree-check.h
# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
#
# This solution has a different problem. Since the time stamp of tree-check.h
@ -1142,16 +1142,16 @@ endif
# To prevent this, one can add a stamp
# tree-check.h: s-check
# s-check : build/gencheck$(build_exeext)
# $(RUN_GEN) build/gencheck$(build_exeext) > tree-check.h
# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
# $(STAMP) s-check
#
# The problem with this solution is that make thinks that tree-check.h is
# always unchanged. Make must be deceived into thinking that tree-check.h is
# rebuild by the "a: s-a" rule. To do this, add a dummy command:
# rebuild by the "tree-check.h: s-check" rule. To do this, add a dummy command:
# tree-check.h: s-check; @true
# s-check : build/gencheck$(build_exeext)
# $(RUN_GEN) build/gencheck$(build_exeext) > tree-check.h
# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
# $(STAMP) s-check
#