Update of bug #32042 (project make):
Triage Status: None => Medium Effort
_______________________________________________________
Follow-up Comment #1:
I agree this is a bug. I think fixing it will not be so simple; by the time
we are setting the intermediate flag on foo.def, foo.ghi has already been
defined as a target and at that point we can't tell whether it was done as a
side-effect of the pattern, or whether there really IS an explicit target
foo.ghi in the makefile (and so we shouldn't mark it intermediate). We'll
need to find a way to make that distinction.
FYI, the formatting caused problems with your example; here's the makefile I
used to test:
all: foo.jkl
%.jkl: %.def %.ghi ; cat '$^' > '$@'
%.def %.ghi: %.abc
@echo "Generating $*.def and $*.ghi from $<"
@sleep 2
touch '$*.def' '$*.ghi'
%.abc: ; date > '$@'
clean: ; rm -f foo.*
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32042>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make