Precompiled pdfs and midis are included, so you only need to compile if you want to change something.
If you decide you do need to compile, first install lilypond.
Then you can build files by running the command lilypond main.ly
in each directory.