help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exception to Paul's Second Rule?


From: Noel Yap
Subject: Re: exception to Paul's Second Rule?
Date: Thu, 16 Oct 2003 17:05:32 -0400

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]