I think a precompiled version is much easier, so unless you really need to you shouldn't compile yourself.
But if you really want to compile yourself, there is a guide on the GitHub: https://github.com/mc-server/MCServer/bl...MPILING.md
But if you really want to compile yourself, there is a guide on the GitHub: https://github.com/mc-server/MCServer/bl...MPILING.md