-qsuffix

Category

Input control

@PROCESS

None.

Purpose

Specifies the source-file suffix on the command line.

This option saves time for the user by permitting files to be used as named with minimal makefile modifications. Only one setting is supported at any one time for any particular file type.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -q--suffix--=--+-f--=--source-file-suffix----------------+-><
                   +-o--=--object-file-suffix----------------+   
                   +-s--=--assembler-source-file-suffix------+   
                   '-cpp--=--preprocessor-source-file-suffix-'   

Defaults

Not applicable.

Parameters

f=suffix
Where suffix represents the new source-file-suffix
o=suffix
Where suffix represents the new object-file-suffix
s=suffix
Where suffix represents the new assembler-source-file-suffix
cpp=suffix
Where suffix represents the new preprocessor-source-file-suffix

Rules

Examples

For instance,
     xlf a1.f2k a2.F2K -qsuffix=f=f2k:cpp=F2K
will cause these effects:
  • The compiler is invoked for source files with a suffix of .f2k and .F2K.
  • cpp is invoked for files with a suffix of .F2K.