Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/usr.bin/crunch/crunchgen



On Mon, 24 Sep 2001, Thor Lancelot Simon wrote:
> Modified Files:
>       basesrc/usr.bin/crunch/crunchgen: crunchgen.c
> 
> Log Message:
> Changes to the emitted makefiles that actually build the objects:
> 
> 1) Always do a make clean before building objects in any directory.  This
>    is wasteful, but there's really no other simple way to cope with the
>    fact that the compilation settings (e.g. CFLAGS) appropriate for the
>    non-crunched build of a program may not be appropriate for the crunched
>    build.  If the objdir magic in make didn't rely upon the presence of an
>    "obj" or "obj.${MACHINE}" symlink, we could abuse it to handle this but
>    unfortunately, it does.

Shouldn't it better be left to the user if he wants/needs to do a 'make
clean'? Not everyone has a fast machine...


 - Hubert




Home | Main Index | Thread Index | Old Index