1#	$OpenBSD: Makefile,v 1.2 2001/01/29 02:05:39 niklas Exp $
2#	$NetBSD: Makefile,v 1.1 1995/04/24 05:53:34 cgd Exp $
3
4PROG=	divremtest
5NOMAN=
6
7CLEANFILES+=	mkcases cases.c mktestcases testcases
8
9divremtest.c: cases.c
10
11cases.c: mkcases
12	/bin/rm -f cases.c
13	mkcases > cases.c
14
15# a typical strategy to use this:
16# compile a NetBSD divremtest binary, an OSF/1 divremtest binary, and an
17# OSF/1 mktestcases binary.  You then run mktestecases | divremtest -g
18# on an OSF/1 machine, and pipe the output to an rsh to a NetBSD machine
19# which then runs divremtest.  You can test an infinite number of random
20# values that way; I like to put a 'dd' in, so I can see how much I've done.
21
22testcases: mktestcases divremtest
23	/bin/rm -f testcases
24	mktestcases | divremtest -g > testcases
25
26regress:
27	@echo THIS TEST CANNOT BE RUN AUTOMATICALLY.
28	@false
29
30.include <bsd.prog.mk>
31