WINCETARGETFILE0 (Windows CE 5.0)

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 might specify the path and file name for a target binary source (.res) file 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 to generate a successful build. WINCETARGETFILE0 is always added at the top of this list.

If this macro definition is present, 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 Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.