Previous Next        Current Page: NeXtMidas Training / Option Trees / Building an Option Tree / Using MAKE
back
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
Option Trees   
   + Overview   
   + Using an Option Tree   
   + Lab 1   
   + Creating an Option Tree   
   + Command Dictionary   
   - Building an Option Tree   
      - Using MAKE   
      - Using BUILD (or BLD)   
      - Using BUILDOPT   
      - Using MTRANS (or not)   
      - Notes About Building   
   + Lab 2   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • 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

back