On Mon, Oct 19, 2009 at 10:43 AM, Mark Galeck (CW) <[email protected]>wrote: > > >make clean > > Then again, all the *.d files are generated first, takes a very long time, > before everything is deleted. >
i think the general workaround for that is to skip generation when clean is running: ifneq (,$(strip $(filter distclean clean,$(MAKECMDGOALS)))) # $(warning Skipping C/C++ deps generation.) ... else ... endif but the placement depends on how your rules are structured (and is easier if you generate only one dep file, though that has other problems compared to .d files). -- ----- stephan beal http://wanderinghorse.net/home/stephan/
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
