956e45f6fb
Lots of new unit-tests increase code coverage. Lots of refactoring, cleanup and simlpification to reduce code size. Fixes for Bug 223564 and 245807 Updates to dirdeps.mk and meta2deps.py
22 lines
530 B
Makefile
22 lines
530 B
Makefile
# $NetBSD: depsrc-wait.mk,v 1.3 2020/09/07 18:40:32 rillig Exp $
|
|
#
|
|
# Tests for the special source .WAIT in dependency declarations,
|
|
# which adds a sequence point between the nodes to its left and the nodes
|
|
# to its right.
|
|
|
|
# Even though the build could run massively parallel, the .WAIT imposes a
|
|
# strict ordering in this example, which forces the targets to be made in
|
|
# exactly this order.
|
|
.MAKEFLAGS: -j8
|
|
|
|
# This is the example from the manual page.
|
|
.PHONY: x a b b1
|
|
x: a .WAIT b
|
|
echo x
|
|
a:
|
|
echo a
|
|
b: b1
|
|
echo b
|
|
b1:
|
|
echo b1
|