...
https://www.gnu.org/software/make/manual/html_node/Wildcard-Function.html
Having learned this technique I always wonder why most makefile authors maintain manual lists of source or object files in their makefiles. That is a lot of unnecessary work.
One can overcome the problem of excluding platform specific files using this trick.