Now contains only functions for logging, but it will change soon.
gcc -MM can be used to separate them from the system ones. Added automatic generation of dependencies.