1995-03-21 12:01:59 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 1995/03/21 09:05:14 cgd Exp $
|
|
|
|
|
1994-02-20 09:57:15 +03:00
|
|
|
SHELL= /bin/sh
|
|
|
|
ED= ../obj/ed
|
1993-04-08 05:07:16 +04:00
|
|
|
|
1994-02-20 09:57:15 +03:00
|
|
|
all: check
|
|
|
|
@:
|
|
|
|
|
|
|
|
check: build test
|
|
|
|
@if grep -h '\*\*\*' errs.o scripts.o; then :; else \
|
|
|
|
echo "tests completed successfully."; \
|
|
|
|
fi
|
1993-04-08 05:07:16 +04:00
|
|
|
|
1993-04-10 15:46:38 +04:00
|
|
|
build: mkscripts.sh
|
1994-02-20 09:57:15 +03:00
|
|
|
@if [ -f errs.o ]; then :; else \
|
|
|
|
echo "building test scripts for $(ED) ..."; \
|
|
|
|
$(SHELL) mkscripts.sh $(ED); \
|
|
|
|
fi
|
1993-04-08 05:07:16 +04:00
|
|
|
|
1993-04-10 15:46:38 +04:00
|
|
|
test: build ckscripts.sh
|
1994-02-20 09:57:15 +03:00
|
|
|
@echo testing $(ED) ...
|
|
|
|
@$(SHELL) ckscripts.sh $(ED)
|
1993-04-08 05:07:16 +04:00
|
|
|
|
|
|
|
clean:
|
1994-02-20 09:57:15 +03:00
|
|
|
rm -f *.ed *.red *.[oz] *~
|