dmake
dmake copied to clipboard
Bug 81627 - Show %-targets without prerequisites in inference chain
In issue 80368 it can be seen that it can be a problem that %-targets without prerequisites are not shown in ambiguous inference chains.
With the following attached makefile try:
$ ./dmake/dmake.exe -rf makefile.mk
There will be no indication that the lev2%.txt or lev2%.html targets are used for the inference chain.
SHELL*:=/bin/sh
SHELLFLAGS*:=-ce
lev0%.html : lev1%.txt
echo rule 2
echo $< $@
lev0%.html : lev1%.html
echo rule 1
echo $< $@
lev1%.txt : lev2%.txt
echo rule txt
echo $< $@
lev1%.html : lev2%.html
echo rule html
echo $< $@
lev2%.txt :
echo Default txt
echo $< $@
lev2%.html :
echo Default html
echo $< $@
aaa : lev0blah.html
echo aaa
https://issues.apache.org/ooo/show_bug.cgi?id=81627