[Cook] Quick cleans?

gaulanm mike.gauland at tait.co.nz
Tue Jul 8 12:41:14 EST 2003


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




More information about the Cook-users mailing list