gcc -MM can be used to separate them from the system ones. Added automatic generation of dependencies.