[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #23361] Infinite loop when including file that depends on a phony t
From: |
Dave Korn |
Subject: |
[bug #23361] Infinite loop when including file that depends on a phony target |
Date: |
Mon, 26 May 2008 14:12:00 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 |
Follow-up Comment #1, bug #23361 (project make):
This looks like the intended behaviour to me. See the manual chapter on
"Remaking makefiles".
http://www.gnu.org/software/make/manual/make.html#Remaking-Makefiles
Since the file 'bar' always becomes newer every time it is remade, remake
always believes it has to start again, in case the contents have changed.
You probably want to look at something like the use of the 'move-if-change'
scripts used in gnu makefiles (e.g. binutils, gcc) to construct something in a
temporary file and only update the actual file on which there is a dependency
if the contents have changed.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23361>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/