Replace object targets with suffix rule.
Move -c in front of CFLAGS.
Fix msb shift in cursor_move.