@__artur
Ah, try using HOST=morphos now. Also edit morphos entry in makefile and replace gcc4 by gcc and remove PPC flags CFLAGS. You can also disable some junk from makefile.config and pay attention to link libs.
There are some MorphOS API calls in my MUI backend but if you manage to get it compiling I can help you to fix MorphOS dependencies in the code.