m3build command line options

If no target is specified, all is assumed. It causes the specified program or library to be built. The only other target that is supported in all m3makefiles is clean which removes any derived files created by m3build all.

The following options are interpreted by m3build.

-b dir  
       Use the dir configuration and build in the directory
       named dir.  The default build directory is configured
       into m3build when it is installed.
-d dir  
       Change the current directory to dir before doing anything.
       This option is most useful when you're editing in the src
       subdirectory and compile command you need is m3build -d ...
-S  
       Generate derived objects regardless of the current directory's
       name.  Normally, if the current working directory is src,
       m3build will refuse to build derived objects.
-O  
       Read the m3overrides file if present.
-v  
       Be verbose, i.e. echo the quake comand before executing it.
-T dir  
       Read templates from dir instead of the default location.  The new
       directory must include the full set of templates (e.g. COMMON,
       PLATFORMS, ...).

And finally, any other arguments that begin with a hyphen are passed on to quake(5). A couple that may be useful are:

-n  
      Operations that invoke external programs, e.g. the Modula-3
      compiler, are processed but the external programs are not executed.
-V  
      This option causes all the directories in which m3makefiles are
      read to be echoed to the standard output. It can be helpful in
      debugging a complex package structure.


[Modula-3 home page]

m3-request@src.dec.com
Last modified on Thu Jan  4 11:07:51 PST 1996 by heydon 
     modified on Thu Apr 21 16:46:37 PDT 1994 by kalsow 
     modified on Thu Jan  7 18:40:57 PST 1993 by muller 
Copyright (C) 1992, 1996, Digital Equipment Corporation. All rights reserved.
See the COPYRIGHT for a full description.