On 03/14/2012 01:53 PM, Kent A. Reed wrote:Even better is 'make 
distclean; make'. ;-)
>>>> Mark
>>>>
>>>>          
>>> I tried that 2 or 3 times, ate my lunch every time. Deletes too much.
>>>
>>> Cheers, Gene
>>>
>>>        
>> I forgot one thing - 'make distclean, ./configure;  make'.  The
>> distclean usually deletes the Makefile created by './configure'.
>>
>> Mark
>>
>>      
> All well and good, boys and girls, but let's not forget that "clean" and
> "distclean" are not intrinsic functions of make. They are merely targets
> in the Makefile like any other.
>
> It's become a convention to name certain targets "clean", etc., but only
> the Makefile writer can give them the semantics you expect. When in
> doubt, read the file.
>
> Regards,
> Kent
>    
Kent,

Absolutely true.  However, I can't remember when the last time I didn't 
see at least 'clean' in a Makefile created by 'configure'.  
'./configure' is what creates most all Makefiles today, and GNU has set 
out some standards for what should be in the 'configure' file.  Most 
'configure' scripts are now generated by 'autoconf' which does generate 
the 'clean' and 'distclean' arguments in the Makefile.

Mark

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to