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