order.mk (bmake-20201101) | : | order.mk (bmake-20201117) | ||
---|---|---|---|---|
# $NetBSD: order.mk,v 1.1 2014/08/21 13:44:51 apb Exp $ | # $NetBSD: order.mk,v 1.2 2020/11/09 20:50:56 rillig Exp $ | |||
# Test that .ORDER is handled correctly. | # Test that .ORDER is handled correctly. | |||
# The explicit dependency the.o: the.h will make us examine the.h | # The explicit dependency the.o: the.h will make us examine the.h | |||
# the .ORDER will prevent us building it immediately, | # the .ORDER will prevent us building it immediately, | |||
# we should then examine the.c rather than stop. | # we should then examine the.c rather than stop. | |||
.MAKEFLAGS: -j1 | ||||
all: the.o | all: the.o | |||
.ORDER: the.c the.h | .ORDER: the.c the.h | |||
the.c the.h: | the.c the.h: | |||
@echo Making $@ | @echo Making $@ | |||
.SUFFIXES: .o .c | .SUFFIXES: .o .c | |||
.c.o: | .c.o: | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 3 lines changed or added |