&${..$..} => ${eval ${call ..$$..}}
(matches { } pairs to find the end)
- content is $-doubled (unless it contains $- to turn that off)
+ content is $-doubled (unless it contains &$- to turn that off)
Together &:macro and &${...} provide a more reasonable macro
facility than raw make. They solve the problem that make
put them near the top of Dir.sd.mk.
The file Final.sd.mk in the toplevel directory is processed and
-included after all the other files.
+the result included after all the other files. Its subdirmk
+filtering context inherits warning suppressions from the toplevel's
+Dir.sd.mk etc., but not anything else.
subdirmk's filter script itself sets (only) these variables:
top_srcdir
The same VARNAME was used both with and without an & prefix.
This can be confusing. Also, if you avoid this then you will
get a warning iff you accidentally leave off a needed &.
+ The generation of this warning depends on scanning your
+ makefile for things that look like variable references, which
+ subdirmk does not do completely perfectly. Exciting make
+ syntax may evade this warning, or require suppressions.
(You can suppress this warning for a particular VARNAME with
the &:local+global directive.)