NetBSD/bin/ed/test/Makefile

26 lines
481 B
Makefile
Raw Normal View History

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