Using windows and trying to compile emscripten:
emmake mingw32-make SUBTARGET=pacmantest SOURCES=C:\\Users\\Adam\\Documents\\GitHub\\mame\\drivers\\pacman.cpp