Use non-recursive assignment. This means, for example, that:
SRCS := $(wildcard *.c)
will call the wildcard function, substitute the output, and assign it to SRCS. Recursive assignment (plain =) would use the output and continue performing substitutions until no further substitutions could be made.
Signed-off-by: Matt Helsley <matthltc@us.ibm.com>,
Acked-by: Serge Hallyn <serue@us.ibm.com>.
5 files changed