[Pw_forum] Making Changes in pw.x

Paolo Giannozzi giannozz at democritos.it
Tue Oct 7 08:21:21 CEST 2008


Matteo Cococcioni wrote:

> as far as I know what make does is checking the dates when routine.f90 
> and routine.o were generated. 

it actually checks the date of all "dependencies" of a "target".
Files Makefile, make.sys, make.depend contain list of dependencies,
either implied (some-file.o depends on some-file.o) or explicit
(some-file.o depends on some-module.o, or some-include-file.h).
For small changes, executing "make pw" is just fine. For more
extensive changes that modify the dependencies, one should also
run the script "./makedeps.sh".

Paolo
-- 
Paolo Giannozzi, Democritos and University of Udine, Italy



More information about the users mailing list