Attached is the makefile I just used to successfully build xmame in Mac OS X 10.2.2. Note that you'll need to decompress it before you can use it:
bunzip Makefile.bz2
In order to get rid of warnings about snprintf, you'll need to edit
src/unix/Makefile and add
-DHAVE_SNPRINTF -DHAVE_VSNPRINTF
to the CFLAGS.macosx line.
Makefile.bz2
Description: Binary data
