On Mon, Aug 8, 2011 at 3:08 PM, David Boyce <[email protected]> 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 _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
