Fixed global variable

Signed-off-by: Damien Zammit <damien@zamaudio.com>
.gitignore: Don't commit build products

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Makefile: Improve build system slightly

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
add missing header

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
add -Wall and turn off optimization

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>