]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/bmake/unit-tests/order
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / bmake / unit-tests / order
1 # $NetBSD: order,v 1.1 2012/11/09 19:08:28 sjg 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