Evaluate Makefile wildcards in source tree

As discussed on the train, building from outside the source tree currently breaks because the wildcards are evaluated in the build tree. Please check that the result is correct here. I haven't actually fired up openDias yet!