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