help-make
[Top][All Lists]
Advanced

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

Re: Implement Check on Input Values


From: Lane Schwartz
Subject: Re: Implement Check on Input Values
Date: Mon, 8 Aug 2011 15:15:54 -0400

On Mon, Aug 8, 2011 at 3:08 PM, David Boyce <address@hidden> wrote:
> It's never good to do a mkdir in a
> recipe (race condition under -j), so all these ways are preferred in
> that they work directly from the make process. In the OP's case it
> might be necessary to combine them with target-specific variables:

David,

Why is it bad to do mkdir in a recipe? I do things like this all the
time, and I've never had problems when using -j

foo/bar: | foo
   ...do something...

foo:
   mkdir -p $@

Cheers,
Lane



reply via email to

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