[Cook] Quick cleans?
Jerry Pendergraft
jerry at endocardial.com
Tue Jul 8 12:47:04 EST 2003
What I do is:
#if [ not [ in clean [command-line-goals] ] ]
#include-cooked [ dep_files ]
#endif
--
Jerry Pendergraft jerry.pendergraft at endocardial.com
Endocardial Solutions voice: 651-523-6935
1350 Energy Lane, Suite 110 fax: 651-644-7897
St Paul, MN 55108-5254 mobile: 651-491-0163
On Tue, 8 Jul 2003, gaulanm wrote:
> My recipe file includes a target for 'clean', which just deletes my
> build tree. This works very quickly if you run it after a successful
> build, but if you run it a second time, it isn't so speedy.
>
> The problem is that cook wants to rebuild all the now non-existent '.d'
> dependency files, which are '#include-cook'ed. Of course, all the time
> it spends carefully creating these files is wasted, as they are
> immediately deleted once the 'clean' target is built.
>
> Can someone suggest an elegent way to address this?
>
> Thanks,
> Mike
>
> _______________________________________________
> Cook-users mailing list
> Cook-users at auug.org.au
> http://www.auug.org.au/mailman/listinfo/cook-users
>
More information about the Cook-users
mailing list