Using the attached Makefile, I get the following result: % rm -f foo; make -j foo1 bar1 qux start foo bar foo
So the qux recipe is run before foo is finished (or even started), although qux depends on foo. The $(shell) calls as well as .SECONDARY and the seemingly unrelated bar rules all seem to be necessary to trigger the bug. This is reproducible with 3.82. It does not seem to occur with 3.81. BTW, I wanted to check against the current repository version, but when I tried to fetch it as described on https://savannah.gnu.org/git/?group=make, I got: % git clone git://git.savannah.gnu.org/make.git Cloning into make... warning: You appear to have cloned an empty repository.
Makefile
Description: Binary data
_______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make