Conversation

Is there a standard sequencing idiom to make it so "make -jN clean all" works, i.e. so all can't start creating files concurrently with clean deleting them (among other issues)?
9
5
Replying to
I use `make -B` for this rather than clean. I find that I'm almost always doing it to work around unstated dependencies such as changes to environment variables, upgrades to the OS toolchain, etc. It would be nicer to track those implicit dependencies but I haven't bothered.
1
2
Replying to and
Still not going to be perfect, and it has never bothered me enough to actually deal with it, but I've thought about making a reusable approach I could copy across projects so that I wouldn't have to use `make -B` nearly as much as I end up using it. Annoys me to need it at all.