>src_more = dir1/foo1.c dir2/foo2.c
>
>define vp
>
>vpath $1 $2
>
>endef
>
>$(info $(foreach FILE,$(src_more),\
>$(call vp,$(notdir $(FILE)),$(dir $(FILE)))))
>
>$(eval $(foreach FILE,$(src_more),\
>$(call vp,$(notdir $(FILE)),$(dir $(FILE)))))
>
>all:
>: ;
>
>
>    cheers,
>     DaveK
>-- 
>Can't think of a witty .sigline today....
>

That's exactly what I am looking for. BTW, is 'info' a directive of GNU 
makefile?
But I can't find it in the manual.

------------
Best Regards
PRC
Jul 30, 2008



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

Reply via email to