[MITgcm-devel] make cleean Clean and CLEAN
Alistair Adcroft
adcroft at MIT.EDU
Thu Nov 20 15:33:48 EST 2003
> Or, you could re-run genmake2. Or you could use tar and make a copy of
the entire directory.
I was doing something simpler; I had run a long run in an input/ directory
and wanted to keep that run but run another test. So normally I create a new
directory and copy ../input/{data.*,Makefile,PA*} ./ and the point of the
Makefile was not to necessarily rebuild but to record the config. It used to
be that if I did need to rebuild I simply typed make but that failed for
reasons we know. I'm not sure what to think about it so don't panic.
I now see that the templates allow you to not necessarily rebuild everything
everytime. I don't see why you need both ad_config.template and
AD_CONFIG.template though.
> What difference does it make having a few files left over? This is not a
rhetorical
> question. I want you to explain what harm any of those few files are dong
to anything
> that you're working on.
Simply that I type make clean for the purpose of a definitive rebuild, type
make Clean for re-configuring (resetting links) and CLEAN to delete
everything. Deleting everything used to reduce the build directory to one
file - now there are ten.
> I'm running a low fever today (so I didn't come in), but please call me at
339-927-6897
> and lets discuss before you rearrange things.
Don't worry I'm not re-arranging things.
Hope you've got some good movies to watch - presume you won't be in
tomorrow? Get well soon.
A.
More information about the MITgcm-devel
mailing list