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 srcThe 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.