# extfor

Specifies file extensions to be processed by the compiler as Fortran files.

## Syntax

Linux: | None

macOS: | None

Windows: | /extfor:ext

## Arguments

ext | Are the file extensions to be processed as a Fortran file.

## Default

OFF | Only the file extensions recognized by the compiler are processed as Fortran files.

## Description

This option specifies file extensions (ext) to be processed by the compiler as Fortran files. It is useful if your source file has a nonstandard extension.

You can specify one or more file extensions. A leading period before each extension is optional; for example, /extfor:myf95 and /extfor:.myf95 are equivalent.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Miscellaneous Options

## See Also

Tf compiler option