1# $NetBSD: Makefile,v 1.11 1995/03/21 09:05:14 cgd Exp $ 2 3SHELL= /bin/sh 4ED= ../obj/ed 5 6all: check 7 @: 8 9check: build test 10 @if grep -h '\*\*\*' errs.o scripts.o; then :; else \ 11 echo "tests completed successfully."; \ 12 fi 13 14build: mkscripts.sh 15 @if [ -f errs.o ]; then :; else \ 16 echo "building test scripts for $(ED) ..."; \ 17 $(SHELL) mkscripts.sh $(ED); \ 18 fi 19 20test: build ckscripts.sh 21 @echo testing $(ED) ... 22 @$(SHELL) ckscripts.sh $(ED) 23 24clean: 25 rm -f *.ed *.red *.[oz] *~ 26