calibwam/todo — pull request #7 by emiltayl (2012-04-13 12:14:19+00:00)
Title: New makefile and warning-removal

I made a new, more dynamic Makefile, and also added a clean-target to remove the binary and .o-files.

I also fixed a few compiler warnings. The header files inclusions were moved to todo.c as that's where the included functions are used.

I also made main() return 0 on a complete run and made open_file return NULL on error.