1 1.2 rillig # $NetBSD: order.mk,v 1.2 2020/11/09 20:50:56 rillig Exp $ 2 1.1 apb 3 1.1 apb # Test that .ORDER is handled correctly. 4 1.1 apb # The explicit dependency the.o: the.h will make us examine the.h 5 1.1 apb # the .ORDER will prevent us building it immediately, 6 1.1 apb # we should then examine the.c rather than stop. 7 1.1 apb 8 1.2 rillig .MAKEFLAGS: -j1 9 1.2 rillig 10 1.1 apb all: the.o 11 1.1 apb 12 1.1 apb .ORDER: the.c the.h 13 1.1 apb 14 1.1 apb the.c the.h: 15 1.1 apb @echo Making $@ 16 1.1 apb 17 1.1 apb .SUFFIXES: .o .c 18 1.1 apb 19 1.1 apb .c.o: 20 1.1 apb @echo Making $@ from $? 21 1.1 apb 22 1.1 apb the.o: the.h 23