WINCETARGETFILE0

This macro definition specifies nonstandard target files that Build.exe should build before Build.exe builds the source code in the current directory. For example, the macro definition may specify the path and file name for a target binary source file (.res) if the file is copied to a different location.

Any target files that you specify using WINCETARGETFILE0 are added to the list of dependencies that must be satisfied in order to generate a successful build. WINCETARGETFILE0 is always added at the top of this list.

If this macro definition is present, any custom rules that you define in Makefile.inc, which is an optional file that can exist in the same directory as a SOURCES file, are also applied.

Example

The following code example shows a sources file that adds the nonstandard target file MySpecialPassFile to the list of dependencies.

WINCETARGETFILE0=MySpecialPassFile

The following code example shows a Makefile.inc file that contains a custom rule for MySpecialPassFile.

myspecialpass0file: dependent_file0
   RunMySpecialProgram dependent_file0

See Also

Sources File | Build Tool | Windows CE Build Environment Tool

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.