xref: /freebsd/contrib/bmake/unit-tests/depsrc-end.mk (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1# $NetBSD: depsrc-end.mk,v 1.1 2020/10/23 19:23:01 rillig Exp $
2#
3# Demonstrate the edge case that .BEGIN depends on .END, which sounds a bit
4# paradox but works since these special nodes are not in the dependency
5# hierarchy where the cycles are detected.
6
7.BEGIN:
8	: 'Making ${.TARGET}.'
9.END:
10	: 'Making ${.TARGET}.'
11all:
12	: 'Making ${.TARGET}.'
13
14.BEGIN: .END
15