Sun Studio 12 Update 1: C User's Guide

B.2.113 -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.