It appears that the pattern matching character ("%") is not expanded in
phony targets.
For example, given a GNUmakefile like this:
TARGET_NAMES:=phony-a phony-b phony-c
d : $(TARGET_NAMES)
phony-% :
@echo Phony target is $@
.PHONY : $(TARGET_NAMES) d
...making "d" resul
"Paul D. Smith" wrote:
>
> If what you state is actually happening, I think it's a bug (that is, a
> target that is found with a vpath path of /a/b/c/foo.x but $* is only
> "foo").
OK, I looked into this problem because I, too, suspected it was MY
problem, not GNU make's. But unfortunately (or
In a pattern rule like this:
$(SOME_JAR_FILES) : %.jar : Foo Bar Blah
...I can't write it to look like this:
$(SOME_JAR_FILES) : %.jar : $(SOME_VAR_FOR_%_CONTAINING_FILENAMES)
...and I can't write it like this:
$(SOME_JAR_FILES) : %.jar : $(SOME_VAR_FOR_$(*)_CONTAINING_FILENAMES)
Can I do wh