AMBER Archive (2003)Subject: RE: AMBER: make clean doesn't clean leap
From: Ming Lei (MILei_at_clarku.edu)
Date: Tue Nov 04 2003 - 10:01:26 CST
Hi, Karen:
Correct me if I am wrong. I normally do the clean for a single module (like
leap),
If you just compile the teLeap,
%>cd $AMBERHOME/src/leap/src/leap
%>make clean
Then you modify your parameters you want, then recompile it:
%>make -f Makefile.tleap
( in the $AMBERHOME/src/leap/src/leap )
All of compilation are performed in the "$AMBERHOME/src/leap/src/leap"
directory.
Don't bother to clean all modules in $AMBERHOME/src. FYI
Ming
-----Original Message-----
From: Karen Haskell [mailto:khaskell_at_atcc.necsys.com]
Sent: Monday, November 03, 2003 6:19 PM
To: amber_at_scripps.edu
Subject: Re: AMBER: make clean doesn't clean leap
We are just making teLeap, not the X stuff, and "make install" builds teLeap
also. I'm glad the need for manual clean will be fixed in amber8, because
it's easy to overlook if you run "make clean" to a file.
Thanks for your response.
Karen Haskell
On Mon November 3 2003 4:58 pm, David A. Case wrote:
> On Mon, Nov 03, 2003, Karen Haskell wrote:
> > The makefile amber7/src/Makefile doesn't clean the src/leap/src/leap
> > directory. Thus when "make install" is run, the leap files are not
> > recompiled, and the resulting teLeap executable may not be as expected.
>
> You are not supposed to run "make install" in leap. The proper commands
> (which will clean old stuff away) are
>
> xmkmf
> make World
> make install.leap
>
> (see amber7/src/Makefile).
>
> (I understand that this behavior is different from other subdirectories.
> In amber8, "make install" will also work for LEaP.)
>
> (However, if you are just making teLeap (not the X-stuff) using the
> commented- out lines in amber7/src/Makefile, then you may need a manual
> clean command.)
>
> ..dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|