Building - 987123879113/mame GitHub Wiki

Follow the "Compiling MAME" guide on the official MAME documentation website: https://docs.mamedev.org/initialsetup/compilingmame.html

You can use the SOURCES=... command to specify what drivers to build, if you do not wish to have every game in MAME built into your Bemani build.

Modify the make command to include the SOURCES configuration like such: make SOURCES=konami/ksys573.cpp,konami/firebeat.cpp. This will build a version of MAME with only ksys573 and firebeat drivers.