improve makefile

Signed-off-by: Mattias Andrée <maandree@operamail.com>
typo

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add more warnings

Signed-off-by: Mattias Andrée <maandree@operamail.com>