Add drectory creation rules to Makefile.
Add -lm to LDFLAGS
Remove `precision mediump float` from fshader.

It seems that this line breaks teh shader on some platforms (teh PC with
noveau driver).
Make g_player_walk().
Move entity collision solver to g_entity.c