Subject: Re: CVS commit: basesrc/usr.bin/crunch/crunchgen
To: Thor Lancelot Simon <tls@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: source-changes
Date: 09/24/2001 02:43:47
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