1 1.1 apb # $NetBSD: order.mk,v 1.1 2014/08/21 13:44:51 apb 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.1 apb all: the.o 9 1.1 apb 10 1.1 apb .ORDER: the.c the.h 11 1.1 apb 12 1.1 apb the.c the.h: 13 1.1 apb @echo Making $@ 14 1.1 apb 15 1.1 apb .SUFFIXES: .o .c 16 1.1 apb 17 1.1 apb .c.o: 18 1.1 apb @echo Making $@ from $? 19 1.1 apb 20 1.1 apb the.o: the.h 21