1# $NetBSD: deptgt-order.mk,v 1.3 2021/06/17 15:25:33 rillig Exp $
2#
3# Tests for the special target .ORDER in dependency declarations.
4
5all one two three: .PHONY
6
7two: one
8	: 'Making $@ out of $>.'
9three: two
10	: 'Making $@ out of $>.'
11
12# This .ORDER creates a circular dependency since 'three' depends on 'one'
13# but 'one' is supposed to be built after 'three'.
14.ORDER: three one
15
16# XXX: The circular dependency should be detected here.
17all: three
18	: 'Making $@ out of $>.'
19