aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/depsrc-end.mk
blob: eb7543d5dfad88007839177d614eae4aff07993e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: depsrc-end.mk,v 1.1 2020/10/23 19:23:01 rillig Exp $
#
# Demonstrate the edge case that .BEGIN depends on .END, which sounds a bit
# paradox but works since these special nodes are not in the dependency
# hierarchy where the cycles are detected.

.BEGIN:
	: 'Making ${.TARGET}.'
.END:
	: 'Making ${.TARGET}.'
all:
	: 'Making ${.TARGET}.'

.BEGIN: .END