On 24 January 2018 at 16:37, netfab <netbox...@free.fr> wrote:
> Le 24/01/18 à 16:16, Václav Haisman a tapoté :
>> > The makefile.am for this lib contains :
>> >> libmyLIB_la_SOURCES = \
>> >>           aaa.cpp     aaa.h \
>> >>       foo/bbb.cpp foo/bbb.h \
>> >>       bar/ccc.cpp bar/ccc.h
>>
>> What if you use %D%/aaa.cpp %D%/foo/bbb.cpp etc.?
>
> What is %D% ?
>
> I tried, but it does not seems to change anything.
> And at ⁽¹⁾ we can read :
>> Even though repeating the same path prefix for each source file might
>> seem a useless repetition, it is a common mistake to try using a
>> variable to hold the prefix. Indeed automake does not expand
>> variables in _SOURCES definitions.
>
> 1. https://autotools.io/automake/nonrecursive.html

See here: https://www.gnu.org/software/automake/manual/html_node/Include.html
It is a special thing.

-- 
VH

Reply via email to