# MG, QMG

Tells the compiler to generate makefile dependency lines for each source file.

## Syntax

Linux: | -MG

macOS: | -MG

Windows: | /QMG

## Arguments

None

## Default

OFF | The compiler does not generate makefile dependency information in files.

## Description

This option tells the compiler to generate makefile dependency lines for each source file. It is similar to /QM, but it treats missing header files as generated files.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Preprocessor Options

## See Also

QM compiler option