Current Page: NeXtMidas Training Option Trees Building an Option Tree Using MAKE
- - | The `MAKE` Command: The `MAKE` command is used to build commands and libraries in an option tree. It can also build documentation and JAR files (used when NeXtMidas is run via Java WebStart). The `MAKE` command takes in two arguments, the first is the "function" and the second is the name of the option tree. Available functions include:
    CODE | Builds all code (libraries, primitives and intrinsics).
    HELP | Builds the online documentation.
    DOCS | An alias for `HELP`.
    JARS | Builds the WebStart JAR files.
    ALL | All of the above.
  - Example:
        nM> make all dsp
        --> Using default system buildopt for DSP <--
        --> Building Java/C/Fortran Sources for DSP <--
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/lib/DSPLib.java
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/lib/Demod.java
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/prim/convolve.java
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/prim/demod.java
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/prim/fdfilter.java
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/prim/firwind.java
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/prim/tuner.java
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/prim/window.java
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/lib/DSPLib.c
        INFO: Compiling /home/burdell/nxm230/nxm/dsp/lib/Demod.c
        INFO: Build 10 files for opt=DSP
        WARN: You must exit the shell to reload newly compiled files [BUILDOPT]
        --> Building Help for DSP <--
        INFO: Building JavaDocs for opt=DSP in /home/burdell/nxm230/htdocs/api/ [BUILDOPT]
        INFO: Building Help/Explain/Documents for DSP [BUILDOPT]
        --> Building WebStart Jars for DSP <--
        INFO: Creating /home/burdell/nxm230/jars/nxm-dsp.jar
        INFO: Creating /home/burdell/nxm230/jars/nxm-dsp-all.jar