Robert Mecklenburg wrote:
> %.o: %.c %.mkdir
> 
> So I was thinking the target would be, say, "out/bar.o".  Now, with the
> "slow" version it has prereq of "out/bar.mkdir" (In the slow version we omit
> the .. path component.)  Then the command script executes:
> 
>     @mkdir -p $(dir out/bar.mkdir)
>     @touch out/bar.mkdir

I see.  Doing this would create one directory per object file (something not entirely 
incorrect, but still kind messy) and would still have a race condition when using 
--jobs.

Noel
-- 
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive 
confidentiality or privilege, and use is prohibited.


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to