Makefile.inc: Rewrite $(files-in-dir)
The `files-in-dir` macro is supposed to return all files (out of a
given set) that reside directly (non-recursive) in a given directory.
While the current solution worked splendidly, we can achieve the same
without recursive macros that look at each parent dir individually.
Beside providing better readability, this also fixes a future make
error, as make doesn't like the variable name ` ` anymore ;)
Signed-off-by: Nico Huber <firstname.lastname@example.org>
Reviewed-by: Paul Menzel <email@example.com>
Reviewed-by: Patrick Georgi <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
1 file changed