Home | History | Annotate | Line # | Download | only in unit-tests
      1  1.4  rillig # $NetBSD: deptgt-order.mk,v 1.4 2021/12/13 23:38:54 rillig Exp $
      2  1.1  rillig #
      3  1.2  rillig # Tests for the special target .ORDER in dependency declarations.
      4  1.1  rillig 
      5  1.3  rillig all one two three: .PHONY
      6  1.1  rillig 
      7  1.3  rillig two: one
      8  1.3  rillig 	: 'Making $@ out of $>.'
      9  1.3  rillig three: two
     10  1.3  rillig 	: 'Making $@ out of $>.'
     11  1.3  rillig 
     12  1.3  rillig # This .ORDER creates a circular dependency since 'three' depends on 'one'
     13  1.3  rillig # but 'one' is supposed to be built after 'three'.
     14  1.4  rillig .MAKEFLAGS: -dp
     15  1.3  rillig .ORDER: three one
     16  1.4  rillig .MAKEFLAGS: -d0
     17  1.3  rillig 
     18  1.3  rillig # XXX: The circular dependency should be detected here.
     19  1.3  rillig all: three
     20  1.3  rillig 	: 'Making $@ out of $>.'
     21