more 7seg stuff and added C99 compilation flag to rules.mk