Sun Studio 12: C User's Guide

B.2.107 -xMF filename

Use this option to specify a file for the makefile-dependency output. There is no way to specify individual filenames for multiple input files with -xMFon one command line.