Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 81627 - Show %-targets without prerequisites in inference chain #8

Open
mohawk2 opened this issue Aug 28, 2014 · 2 comments
Open

Comments

@mohawk2
Copy link
Owner

mohawk2 commented Aug 28, 2014

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.

@mohawk2
Copy link
Owner Author

mohawk2 commented Aug 28, 2014

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

@mohawk2
Copy link
Owner Author

mohawk2 commented Aug 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant