freebsd-src/contrib/bmake/unit-tests/depsrc-end.mk
Simon J. Gerraty 548bfc56eb Merge bmake-20240430
Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'
2024-05-03 15:48:32 -07:00

15 lines
366 B
Makefile

# $NetBSD: depsrc-end.mk,v 1.2 2024/04/27 20:41:32 rillig Exp $
#
# Demonstrate an edge case in which .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