next up previous contents
Next: Note for RCS users: Up: Using the Configure Script Previous: Supported operating systems

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.





Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999