Boot-to-ramdisk image generation scripts
[minix3.git] / bin / ed / test / Makefile
blobfe631a83b9d648d966ad7266618185abab323fb1
1 # $NetBSD: Makefile,v 1.12 2003/10/26 03:50:07 lukem Exp $
3 .include <bsd.own.mk>
5 ED?= ../obj/ed
7 all: check
8 @:
10 check: build test
11 @if grep -h '\*\*\*' errs.o scripts.o; then :; else \
12 echo "tests completed successfully."; \
15 build: mkscripts.sh
16 @if [ -f errs.o ]; then :; else \
17 echo "building test scripts for $(ED) ..."; \
18 ${HOST_SH} ${.CURDIR}/mkscripts.sh $(ED); \
21 test: build ckscripts.sh
22 @echo testing $(ED) ...
23 @${HOST_SH} ckscripts.sh $(ED)
25 clean:
26 rm -f *.ed *.red *.[oz] *~
28 .include <bsd.prog.mk>