I was looking for a recursive wildcard function on the internet while I found this one, amongts others that were not really working:
rwildcard=$(foreach d,$(w