User`s guide

mbuild
Purpose Compile and link source files into standalone application or shared
library
Syntax mbuild [option1 ... optionN] sourcefile 1 [... sourcefi leN]
[objectfile1 ... objectfileN ] [libr aryf ile1 ... libraryfileN]
[exportfile1 ... exportfileN ]
Note Supported types of source files are .c, .cpp, . idl, .rc.To
specify IDL source files to be compiled with the M icrosoft Interface
Definition Language (M IDL) Compiler, add
<filename>.idl to the
mbuild command line. To specify a DEF file, add <filename>.def to
the command line. To specify an RC file, add
<filename>.rc to the
command line. Source files that are not one of the supported types are
passed to the linker.
Description mbuild is a script that supports various options that allow you to
customize the building and linking of your code. This table lists the set
of
mbuild op tions. If no platform is li st ed, the option is available on
both UNIX and Windows.
Option Description
@<rspfile>
(Windows only) Include the contents of the text
file
<rspfile> as command line arguments to
mbuild.
-<arch>
Build an output file for architecture - <arc h>.
Todeterminethevaluefor
-<arch>,type
computer('arch') at the MATLAB Command
Prompt on the target machine. N ote: Valid
values for
-<arch> depend on the architecture
of the b uild platform.
-c
Compile only. Creates an object f ile only.
11-12