next up previous contents
Next: Makefile commands Up: Using the Configure Previous: Configuring the Makefile

Compiling VMD

Finally, after the proper Makefile has been generated, VMD may be compiled. In the main working directory, after running configure, enter the following commands:

cd src
make clean
make depend
make
The first make command removes all old object files from the src directory, and the second make command regenerates the source code dependencies (which are put in the file Makedata.depend). It is necessary to do these two commands if the configuration has been changed in any way (e.g., some parameters have been changed, or a different set of optional features are being included). Otherwise, if the most recent change since compiling is simply that a source code file has been edited, the first two make commands are not necessary. Finally, make will compile and link the VMD source code files.

Note for RCS users:

If the RCS system is being employed, use the command make co instead of make depend in the list above. This will check out up-to-date versions of all the files necessary for the optional features requested. See the Programmers Guide for more information on using RCS.

  
Table 3.1: Available options for architectures supported by VMD .



Andrew Dalke
Wed May 15 02:25:03 CDT 1996