[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make -q and timestamps

From: Bruno Haible
Subject: Re: make -q and timestamps
Date: Sun, 14 Aug 2011 00:02:28 +0200
User-agent: KMail/1.13.6 (Linux/; KDE/4.6.0; x86_64; ; )

Hi Paul,

> I've been moving away from stamp files like that lately, though,
> as these days they seem to be more trouble than they're worth,
> at least for me.  If you do create a stamp file, please make
> sure that it works with parallel makes. ... The problem can be worked around,
> though I don't remember offhand how to do that, and the complexity
> of doing it "right" has led me to think that it shouldn't be done
> at all.

This is the same dilemma that we talked about in the thread about the *.in.h
-> *.h file generation [1].

If it is not currently possible to write this with Makefile rules, in a way
that is robust against the 'make' options '-j', '-k', '-q', etc., then
is it possible to extend GNU Make in a way that supports this? Possibly
by defining a new kind of special built-in target?


[1] http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00314.html
In memoriam Paul Richter <http://de.wikipedia.org/wiki/Paul_Richter_(Pfarrer)>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]