C99 all up in this place
CFLAGS belong into CFLAGS, not CC
Make the code a little bit more standards compliant