### Updating a Precompiled File Automatically

Use the Carbide IDE’s project manager to update a precompiled header automatically. The IDE creates a precompiled file from a source code file during a compile, update, or make operation if the source code file meets these criteria:

- The text file name ends with .pch (for C header files) or .pch++ (for C++ header files)
- The file is in a project’s build target
- The file uses the pragma precompile_target pragma
- The file, or files it depends on, have been modified

See the Carbide IDE User Guide for information on how the IDE determines that a file must be updated.

The IDE uses the build target’s settings to preprocess and precompile files.