simple C source file parser and makefile dependency generator