Home | History | Annotate | Line # | Download | only in test
Makefile revision 1.10
      1 SHELL=	/bin/sh
      2 ED=	../obj/ed
      3 
      4 all: check
      5 	@:
      6 
      7 check: build test
      8 	@if grep -h '\*\*\*' errs.o scripts.o; then :; else \
      9 		echo "tests completed successfully."; \
     10 	fi
     11 
     12 build: mkscripts.sh
     13 	@if [ -f errs.o ]; then :; else \
     14 		echo "building test scripts for $(ED) ..."; \
     15 		$(SHELL) mkscripts.sh $(ED); \
     16 	fi
     17 
     18 test: build ckscripts.sh
     19 	@echo testing $(ED) ...
     20 	@$(SHELL) ckscripts.sh $(ED)
     21 
     22 clean:
     23 	rm -f *.ed *.red *.[oz] *~
     24