Bug: concurrent make and references to different names of a multi-target rule

2012-02-18 Thread Shachar Shemesh
Hi all, I found a bug which is present at least in the Fedora version 3.82 of make. Attached is a makefile that demonstrates the bug (it might be possible to further simplify it). To see the bug: run "make clean" and "make". /tmp/runlog shows one line saying "run", which means that the t1 t2 rule

Re: Dump the database to a makefile and invoke make on the dumped makefile.

2012-02-18 Thread Tim Murphy
Hi, This can be done and we have tried something similar for exactly the same reasons. It wasn´t utterly trivial for us for a number of reasons but in your case you might not have the same problems. We were trying to pre-parse the makefile in parallel then read the parsed version. We didn try t

Dump the database to a makefile and invoke make on the dumped makefile.

2012-02-18 Thread Torbjörn Svensson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello list, The short version Is there any way to make make dump it's database to a makefile and then reuse that dumped makefile to build the source? The long version In one of our projects at work, we use a rather complex set of macros[1] to make