On 2008-07-29 08:31Z, PRC wrote:
> 
> I have a variable in my makefile script, whose values may be
> src_more = dir1/foo1.c dir2/foo2.c
> I wonder how to expand the variable to
> ----------------------------------------
> vpath foo1.c dir1
> vpath foo2.c dir2

But what would happen if the variable's definition were as follows?
  src_more = dir1/fooA.c dir2/fooA.c
If that expands to
  vpath fooA.c dir1
  vpath fooA.c dir2
then it probably doesn't do what you want. And if all file names are
unique, then why not write it as follows instead?
  vpath foo1.c dir1
  vpath foo2.c dir2
  src_more = foo1.c foo2.c


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to