1281760Ssjg# $NetBSD: order.mk,v 1.1 2014/08/21 13:44:51 apb Exp $
2281760Ssjg
3281760Ssjg# Test that .ORDER is handled correctly.
4281760Ssjg# The explicit dependency the.o: the.h will make us examine the.h
5281760Ssjg# the .ORDER will prevent us building it immediately,
6281760Ssjg# we should then examine the.c rather than stop.
7281760Ssjg
8281760Ssjgall: the.o
9281760Ssjg
10281760Ssjg.ORDER: the.c the.h
11281760Ssjg
12281760Ssjgthe.c the.h:
13281760Ssjg	@echo Making $@
14281760Ssjg
15281760Ssjg.SUFFIXES: .o .c
16281760Ssjg
17281760Ssjg.c.o:
18281760Ssjg	@echo Making $@ from $?
19281760Ssjg
20281760Ssjgthe.o: the.h
21