Pseudotargets

A pseudotarget is a target in a description block that is not a file. Instead, it is a name that serves as a handle for building a group of files or executing a group of commands. In the following example, UPDATE is a pseudotarget:

UPDATE: *.*
  !copy $** A:\PRODUCT

When NMAKE evaluates a pseudotarget, it always considers the dependent files to be out-of-date. In the description above, NMAKE copies each of the dependent files to the specified drive and directory.

NMAKE predefines several pseudotargets for special purposes.

See Predefined Pseudotargets.


[Back: Example]
[Next: Predefined Pseudotargets]