mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 22:54:52 +00:00
cdde9e894d
Features of interest: Allow setting target local variables (similar to gmake) In META_MODE .MAKE.META.CMP_FILTER can be used for filtering commands before comparion. contrib/bmake/mk/cc-wrap.mk is an example of using these See ChangeLog for the gory details.
21 lines
505 B
Makefile
21 lines
505 B
Makefile
# $NetBSD: deptgt-order.mk,v 1.4 2021/12/13 23:38:54 rillig Exp $
|
|
#
|
|
# Tests for the special target .ORDER in dependency declarations.
|
|
|
|
all one two three: .PHONY
|
|
|
|
two: one
|
|
: 'Making $@ out of $>.'
|
|
three: two
|
|
: 'Making $@ out of $>.'
|
|
|
|
# This .ORDER creates a circular dependency since 'three' depends on 'one'
|
|
# but 'one' is supposed to be built after 'three'.
|
|
.MAKEFLAGS: -dp
|
|
.ORDER: three one
|
|
.MAKEFLAGS: -d0
|
|
|
|
# XXX: The circular dependency should be detected here.
|
|
all: three
|
|
: 'Making $@ out of $>.'
|