Follow-up Comment #1, bug #36844 (project make):
In the original submission, I left out a couple of lines in the section
exemplifying the problem; the variables 'T1' and 'T2' are there strictly for
the sake of making it convenient to test this without having to modify the
makefile for each test.
It should've read as follows:
To test this:
# Comment out lines 3 & 6-11; this will demonstrate how private variables
should behave
gmake T1='#' T2='#'
C: global
B: global
A: global A1 A2
# Comment out just line 3; this will demonstrate the problem; targets B & C
inherit changes from things that depend on them.
gmake T2='#'
C: global A1 A2 B1 B2 C1 C2
B: global A1 A2 B1 B2
A: global A1 A2
# Don't comment out any lines; adding a pattern rule to wipe out ASDF for all
targets is a reasonable work-around until this problem gets fixed:
gmake
C: global C1 C2
B: global B1 B2
A: global A1 A2
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36844>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make