• The BLD and BUILD Command:
    • The BLD or the BUILD command can be used to build a single file or command.
      • The name BLD was choosen to match its X-Midas counterpart XMBLD.
    • When building a command, BLD takes in just the name of the command and automatically figures out what file(s) need to be built.
      nM> build fft
      INFO: Compiling /home/burdell/nxm371/nxm/sys/prim/fft.java
      INFO: Build 1 files for opt=SYS area=prim name=fft
    • When building a library BLD takes in the name of the library, the area, and the option tree.
      nM> bld Table.java lib sys 
      INFO: Compiling /home/burdell/nxm371/nxm/sys/lib/Table.java
      INFO: Build 1 files for opt=SYS area=lib name=Table.java
    • When building a library, if you omit the file extension, NeXtMidas will automatically figure it out.
      nM> bld table lib sys 
      INFO: Compiling /home/burdell/nxm371/nxm/sys/lib/Table.java
      INFO: Build 1 files for opt=SYS area=lib name=table
    • If the file has a native component, a Java Native Interface (JNI) file written in C, NeXtMidas will automatically build this too, along with any necessary JNI header files.
      nM> bld native lib sys 
      INFO: Compiling /home/burdell/nxm371/nxm/sys/lib/Native.java
      INFO: Compiling /home/burdell/nxm371/nxm/sys/lib/Native.c
      INFO: Build 2 files for opt=SYS area=lib name=native
    • The name "all" can be provided for file or area (or both) indicating that all files in that area/option should be built.
      nM> bld all all sys
      <Builds all files in all areas of SYS>