None.
Specifies the target name of the object file in the make rule in the dependency output file that is generated by the -qmakedep or -M option.
For more information about the -qmakedep and -M options, see -qmakedep and -M.
If -MT is not specified, the target name is the base name of the object file.
Only one target is accepted. If you specify multiple -MT options, the target from the last -MT option is used.
#include "options.h"
MODULE m
USE n
CONTAINS
SUBROUTINE sub
IMPLICIT NONE
INCLUDE 'constants.h'
CALL my_print(pi)
END SUBROUTINE
END MODULE
xlf -c -qmakedep mysource.f -MT '/home/user/sample/mysource.o'
The
generated mysource.d file is as follows:/home/user/sample/mysource.o m.mod: n.mod
/home/user/sample/mysource.o m.mod: option.h
/home/user/sample/mysource.o m.mod: mysource.f
/home/user/sample/mysource.o m.mod: constants.h