blob: e5b206f2fb10df3eed5524511b4a04b8b36c17f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $OpenBSD: Makefile,v 1.2 2001/03/07 16:20:42 espie Exp $
NOMAN=
NOPROG=
regress: t1 t2 t3 t4
t1: t1.out
perl ${.CURDIR}/tsort-check t1.out ${.CURDIR}/pairs1
t2: t2.out
perl ${.CURDIR}/normalize-cycles <t2.out|head -1|diff - ${.CURDIR}/t2.canonical
t3: t3.out pairs3
perl ${.CURDIR}/tsort-check t3.out pairs3
t4: t4.out pairs4
perl ${.CURDIR}/tsort-check t4.out pairs4
t1.out:
tsort <${.CURDIR}/pairs1 >$@
t2.out:
cat ${.CURDIR}/pairs1 ${.CURDIR}/pairs2 |tsort -l >/dev/null 2>$@
t3.out: pairs3
tsort <pairs3 >$@
t4.out: pairs4
tsort <pairs4 >$@
pairs3:
perl ${.CURDIR}/build-tree 4 8 >$@
pairs4:
perl ${.CURDIR}/build-tree 5 10 >$@
.PHONY: t1 t2 regress
CLEANFILES+=t1.out t2.out t3.out t4.out pairs3 pairs4
.include <bsd.prog.mk>
|