[MITgcm-devel] makefile

Jean-Michel Campin jmc at ocean.mit.edu
Wed Jul 14 16:38:47 EDT 2004


Hello Ed,

I thought that the makefile was supposed to figure out
which subroutine to re-compile, depending on the time
of the last modifications + dependence rule.

But in my case (on my laptop), it's not:
I changed model/inc/PARAMS.h, did "make",
typed testreport -dd -nc (or did "make" in the input dir)
and it only recompile a few routines (thoses that
have been modified) but not the whole set of 
S/R that includes PARAMS.h.

looking for error message in make.log, I found:
> make[1]: Nothing to be done for `links'.   
(this is what I expected)
then 1 long line, and after:
> make: o: Command not found
> make: [depend] Error 127 (ignored)
> echo: No match.
> rm -f makedepend.out

Any comments ?

Thanks,

Jean-Michel



More information about the MITgcm-devel mailing list