Compiling and linking

If you have changed directories, go back to the MAXENT-V1.4 directory. Four options are available in the makefile in this directory:
  1. Typing make or make maxent will result in transfer of control to the makefile in the src directory, where make maxent will be executed. The http://g95.org) Fortran 90 compiler/linker and the g77 (GNU Fortran 77 compiler) are used. If all goes well in the compiling and linking phases, the executable file, bin/maxent, will be created.
  2. Typing make maxentlib will result in transfer of control to the makefile in the src directory, where make maxentlib will be executed, and if all goes well in the compiling phase, the library file, lib/libmaxent.a, will be created.
  3. Typing make check will result in the execution (by default, output will be sent to the terminal) of all the example input files in the tests sub-directory.
  4. Typing make clean will result in the deletion of all object files, mod files, library file, and the executable.



N. Sukumar
Copyright © 2008