![]() | :: | Software | :: | build |
build opts target ...where opts is a set of arguments as listed below, and target is a build target.
-b: borrow (default): Borrow target files if possible.
-B: no borrow: Do not borrow target files.
-f: force: Delete target arguments before compiling.
-F: force all: Delete all project targets before compiling.
-q: quiet: Do not print compilation commands.
-v: verbose (default): Print compilation commands.
-V: extra verbose: Print trace and compilation commands.
--: terminate the option list.
By default, build compiles the it target.
Invoked with the -f argument, build removes the targets listed on the command line before building any. Invoked with the -F argument, build removes all targets before building any. Then build invokes build-target for each target on the command line, passing all other options to build-target.
If build-target runs successfully, then build updates Makefile to reflect the current rules for all known targets, and copies Makefile to src/Makefile.
If it encounters temporary error in building targets, build complains to standard error and exits 111. If it encounters a permanent error, build complains to standard error and exits 100.