This is my unix implementation W.I.P Enjoy your stay 3:
make init && make
that's all you need to compile the sources
Every Makefile has it's own CC and stuff so find them and change to suit your needs
make run
runs the kernel in normal mode
make run-debug
runs kernel compiled by make debug
If you have one then Good Luck m8
That's basically it. Keep in mind that this is W.I.P ;)