> On 30 Jun 2016, at 04:50, Paul Smith <[email protected]> wrote:
>
> However, you should generally not have targets depend on directories,
> because make treats them just like any other file when it checks
> modification times; however directories do not act like normal files
> when it comes to modification times.
We use a dummy file as an order-only prerequisite that plays nicely
with -j, -n, and -t options and recursive invocation:
%/.keep:
+@mkdir -p '$(dir $@)'
@touch '$@‘
Cheers,
Tony
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make