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? Bruno [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)>