1*9f45a3c8SSimon J. Gerraty# $NetBSD: deptgt-order.mk,v 1.4 2021/12/13 23:38:54 rillig Exp $ 22c3632d1SSimon J. Gerraty# 32c3632d1SSimon J. Gerraty# Tests for the special target .ORDER in dependency declarations. 42c3632d1SSimon J. Gerraty 5b0c40a00SSimon J. Gerratyall one two three: .PHONY 62c3632d1SSimon J. Gerraty 7b0c40a00SSimon J. Gerratytwo: one 8b0c40a00SSimon J. Gerraty : 'Making $@ out of $>.' 9b0c40a00SSimon J. Gerratythree: two 10b0c40a00SSimon J. Gerraty : 'Making $@ out of $>.' 11b0c40a00SSimon J. Gerraty 12b0c40a00SSimon J. Gerraty# This .ORDER creates a circular dependency since 'three' depends on 'one' 13b0c40a00SSimon J. Gerraty# but 'one' is supposed to be built after 'three'. 14*9f45a3c8SSimon J. Gerraty.MAKEFLAGS: -dp 15b0c40a00SSimon J. Gerraty.ORDER: three one 16*9f45a3c8SSimon J. Gerraty.MAKEFLAGS: -d0 17b0c40a00SSimon J. Gerraty 18b0c40a00SSimon J. Gerraty# XXX: The circular dependency should be detected here. 19b0c40a00SSimon J. Gerratyall: three 20b0c40a00SSimon J. Gerraty : 'Making $@ out of $>.' 21