xref: /freebsd/contrib/bmake/unit-tests/depsrc-end.mk (revision 8eb2bee6c0f4957c6c1cea826e59cda4d18a2a64)
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