blob: c6e4fe67e71e52a5fa1ae19d3eba800487a9b167 (
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
|
# $OpenBSD: Makefile,v 1.6 2001/09/16 21:09:19 espie Exp $
# $NetBSD: Makefile,v 1.2 1999/02/13 02:54:33 lukem Exp $
NOMAN=
NOPROG=
FIBOMAX=25
M4=m4
CLEANFILES+= ff_after_dnl.m4 fibo.out
regress: test-ff_after_dnl test-m4wrap test-fibo test-patterns
test-ff_after_dnl: ff_after_dnl.m4
${M4} ff_after_dnl.m4 | diff - ${.CURDIR}/ff_after_dnl.out
ff_after_dnl.m4: ff_after_dnl.m4.uu
uudecode ${.CURDIR}/ff_after_dnl.m4.uu
test-m4wrap:
${M4} ${.CURDIR}/m4wrap.m4 | diff - ${.CURDIR}/m4wrap.out
test-patterns:
${M4} ${.CURDIR}/patterns.m4 | diff - ${.CURDIR}/patterns.out
fibo.out:
perl ${.CURDIR}/fibo.pl ${FIBOMAX} >$@
test-fibo: fibo.out
${M4} -DN=${FIBOMAX} ${.CURDIR}/fibo.m4| diff - fibo.out
.PHONY: test-ff_after_dnl test-m4wrap test-patterns test-fibo
.include <bsd.prog.mk>
|