omake uses some special targets at special times. The build scripts associated with these special targets are used at specific times as described in Table 17.
Special Target | Usage |
---|---|
.AFTER : [ source ... ] | After omake builds its last target and immediately before it exits, any sources to .AFTER are built, and the build scripts of .AFTER are executed. To execute the build scripts even when using omake -n, give .AFTER the .MAKE attribute. |
.BEFORE : [ source ... ] | Before omake builds its first target, any sources to .BEFORE are built, and then the build scripts of .BEFORE are executed. To execute the build scripts even when using omake -n, give .BEFORE the .MAKE attribute. |
.DEFAULT[.ext] : | If omake needs to update a target that has no build scripts, omake looks for an inference rule that matches the target name and uses the build scripts of the matched inference rule. Each .DEFAULT[.ext] target is converted into an %.ext : inference rule. |
For PM/CB compatibility, we support .DEINIT, .EPILOG, .INIT, and .PROLOG. See Appendix D, Compatibility and Emulation.
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |