xref: /freebsd/contrib/bmake/unit-tests/depsrc-end.mk (revision 548bfc56eb0b2cefa0fb8dc2478240bfef610309)
1*548bfc56SSimon J. Gerraty# $NetBSD: depsrc-end.mk,v 1.2 2024/04/27 20:41:32 rillig Exp $
2956e45f6SSimon J. Gerraty#
3*548bfc56SSimon J. Gerraty# Demonstrate an edge case in which .BEGIN depends on .END, which sounds a bit
4956e45f6SSimon J. Gerraty# paradox but works since these special nodes are not in the dependency
5956e45f6SSimon J. Gerraty# hierarchy where the cycles are detected.
6956e45f6SSimon J. Gerraty
7956e45f6SSimon J. Gerraty.BEGIN:
8956e45f6SSimon J. Gerraty	: 'Making ${.TARGET}.'
9956e45f6SSimon J. Gerraty.END:
10956e45f6SSimon J. Gerraty	: 'Making ${.TARGET}.'
11956e45f6SSimon J. Gerratyall:
12956e45f6SSimon J. Gerraty	: 'Making ${.TARGET}.'
13956e45f6SSimon J. Gerraty
14956e45f6SSimon J. Gerraty.BEGIN: .END
15