WINCETARGETFILES (Windows Embedded CE 6.0)
1/5/2010
This macro definition specifies nonstandard target files that Build.exe should build after Build.exe links all other targets in the current directory.
For example, the macro definition can specify the path and file name for the target .res file if the .res file is copied to a different location.
Any target files that you specify using WINCETARGETFILES are added to the list of dependencies that must be satisfied to generate a successful build.
WINCETARGETFILES is not added in PASS 0, but in subsequent passes, it is added at the end of the list of dependencies.
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.
WINCETARGETFILES=MySpecialPassFile
The following code example shows a Makefile.inc file that contains a custom rule for MySpecialPassFile.
myspecialpassfile: dependent_file
RunMySpecialProgram dependent_file
See Also
Concepts
Sources File
Build Tool
Windows Embedded CE Build Environment Tool