omake is invoked from the command line with:
omake [ option | macro | target | @file ] ...
Each option is indicated by a - (dash) or / (slash) followed by a single letter, which is the option name. Options can be grouped; that is, -k -v is the same as -kv. The case of the option name is important. omake's command-line options are described in Command-Line Options.
Each macro is a macro definition of the form name=[value]. Macros defined on the command line take precedence over macros defined in the makefile. See Macros.
Each target is a target you want omake to build. If no targets are listed on the command line, omake builds the makefile's default target.
Each @file directs omake to read file for additional options, macros, targets and @files. The @file is treated as if the contents of file were on the command line except that each end-of-line character in file is treated as a space.
You do not have to group options, macros, or targets on the command line; you can intermix them. However, omake reads makefiles in order of their placement on the command line, and builds targets in order as well. If the same macro or parameter is defined more than once on the command line, the last definition is the one omake uses.
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |