Hello,
I'm using GNU make 3.81 (on Linux, if this is important) and see strange
behaviour in parallel builds with the following Makefile:
file1.txt file2.txt: file.in
cat $ file1.txt|tee file2.txt
test: file1.txt file2.txt
cat $^ $@
In a normal build, make does the right
On Fri, 2007-01-19 at 20:01 +0100, Dirk Heinrichs wrote:
I'm using GNU make 3.81 (on Linux, if this is important) and see strange
behaviour in parallel builds with the following Makefile:
file1.txt file2.txt: file.in
cat $ file1.txt|tee file2.txt
test: file1.txt file2.txt
Am Samstag, 20. Januar 2007 16:12 schrieb Paul Smith:
On Fri, 2007-01-19 at 20:01 +0100, Dirk Heinrichs wrote:
I'm using GNU make 3.81 (on Linux, if this is important) and see strange
behaviour in parallel builds with the following Makefile:
file1.txt file2.txt: file.in
cat $
On Sat, 2007-01-20 at 17:35 +0100, Dirk Heinrichs wrote:
So if make behaves correctly in the parallel case, does this mean that the
non-parallel case is wrong?
??
No, both are correct.
In the non-parallel case, make examines the first target and its
prerequisites and sees that it needs to
Am Samstag, 20. Januar 2007 20:49 schrieb Paul Smith:
No, both are correct.
In the non-parallel case, make examines the first target and its
prerequisites and sees that it needs to be rebuilt, so it runs the rule.
The rule updates the first target and also updates the other targets.
Next