[kernel] terminal_putchar supports newlines
[Makefile] object files depend on source files
[kernel] split into terminal.c, add terminal_clear() function