1# $OpenBSD: Makefile,v 1.2 2008/10/13 13:27:33 millert Exp $ 2# $NetBSD: Makefile,v 1.1 2005/04/04 16:48:45 peter Exp $ 3 4SED= /usr/bin/sed 5 6REGRESS_TARGETS= sedtest hanoi math sierpinski 7 8sedtest: 9 sh ${.CURDIR}/$@.sh ${SED} $@.out 10 diff ${.CURDIR}/$@.expected $@.out 11 12hanoi: 13 ${SED} -f ${.CURDIR}/$@.sed ${.CURDIR}/$@.in > $@.out 14 diff ${.CURDIR}/$@.expected $@.out 15 16math: 17 ${SED} -f ${.CURDIR}/$@.sed ${.CURDIR}/$@.in > $@.out 18 diff ${.CURDIR}/$@.expected $@.out 19 20sierpinski: 21 ${SED} -nf ${.CURDIR}/$@.sed ${.CURDIR}/$@.in > $@.out 22 diff ${.CURDIR}/$@.expected $@.out 23 24CLEANFILES+=*.out lines* script* 25 26.include <bsd.regress.mk> 27