How can I use a custom name for the main() function?

In the PRM file, use:

  MAIN myMain