[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RE: how to output newlines?
From: |
PRC |
Subject: |
Re: RE: how to output newlines? |
Date: |
Wed, 30 Jul 2008 09:37:51 +0800 |
>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