Cool stuff, thanks for sharing!
As you may have noticed, certain aspects of the way MAME and MESS are built are a little hokey (it's understandable if you didn't notice though, as some of the most challenging bits are really subtle). I'll forward your work on to the development list so other developers can see what you've done. Maybe it will spark discussion, maybe not, but either way, it's really interesting to see an example of another build system and how it might handle the MAME tree.
> I'm working on a new build system called Meson. Every now and then I look into public
> projects that have complex build definitions and rewrite them in Meson to test its
> usability. Mame's build system is quite complex so it provides an interesting