Compiling retroarch of arm on computer

hello everyone

I want to compile retroarch on my computer for s812 board. I have downloaded the cross compiler tool chain. How do I set up makefile