Re: Cannot use computed %

2000-03-08 Thread Paul D. Smith
%% Laird Nelson <[EMAIL PROTECTED]> writes: ln> OK, I looked into this problem because I, too, suspected it was MY ln> problem, not GNU make's. But unfortunately (or fortunately!) I was able ln> to duplicate it reliably: ln> Make a makefile like this in /var/tmp/tree1: ln> vpath %

Re: Cannot use computed %

2000-03-08 Thread Laird Nelson
"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

Re: Cannot use computed %

2000-03-07 Thread Paul D. Smith
%% Laird Nelson <[EMAIL PROTECTED]> writes: ln> In a pattern rule like this: ln> $(SOME_JAR_FILES) : %.jar : Foo Bar Blah ln> ...I can't write it to look like this: ln> $(SOME_JAR_FILES) : %.jar : $(SOME_VAR_FOR_%_CONTAINING_FILENAMES) Right. Variable and function references in targe

Cannot use computed %

2000-03-07 Thread Laird Nelson
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