trimdependencies

This target specifies header file paths to remove from the generated makefile.

Syntax

      trimdependencies {
          headerPaths
      }

Argument headerPaths The list of header file paths to remove from the generated makefile. If you omit these paths, CreateMake includes the list of dependencies found in $TaligentIncludes and $TaligentPrivateIncludes

By default, CreateMake includes the list of dependent header files found in $TaligentIncludes and $TaligentPrivateIncludes. In most cases, these headers do not change and the extra dependencies result in larger makefiles that take longer to process. With trimdependencies, CreateMake removes any dependencies found in the list of header files from the generated makefile.

Example

Strip out any dependencies that begin with $TaligentIncludes or $TaligentPrivateIncludes. You can do the same thing with any pathname, although generally, you need to do this only with the Taligent public and private includes.

      trimdependencies{
          $(TaligentIncludes)
          $(TaligentPrivateIncludes)
      }
CAUTION Be careful when using this feature. If a Taligent header used by one of your source files changes, that file will not be recompiled. You must manually force the file to be recompiled.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker