[MITgcm-devel] default makedepend

Jean-Michel Campin jmc at ocean.mit.edu
Thu Apr 4 14:32:55 EDT 2013


Hi, 

I would like to change the default makedepend, to switch to
tools/xmakedepend (instead of the system makedepend),
for the 2 reasons:
1) I am tired of having missing dependencies that are responsible for 
  producing a bad executable (that sometime even run but with wrong results)
  when I do "make makedepend ; make" without "make clean". 
2) because of the limit on number of files, we had to add more and more
  local "genmake_local" just to avoid the default makedepend.

xmakedepend is slower, but it gives the right dependencies
(contrary to the linux-system makedepend or cyrus-makedepend).

In case the test (in genmake2) for xmakedepend fails, will
try the system makedepend, then cyrus-makedepend.

Any comments on this ?

Cheers,
Jean-Michel



More information about the MITgcm-devel mailing list