Makefile_named

(Project Properties window)

*.prj\COMPILE\Output Control\Makefile_named

This option compiles the source and writes makefile dependency lines to the specified file. The output file is suitable for use by a make utility

See --depend in the documentation for your toolchain.