--- parser3/www/htdocs/tests/Attic/Makefile 2003/02/21 15:10:12 1.1.2.1 +++ parser3/www/htdocs/tests/Attic/Makefile 2003/02/24 17:11:55 1.1.2.5 @@ -9,6 +9,8 @@ PAFLAGS=-H # DIFF=diff +ECHO=echo +RM=rm # @@ -18,13 +20,19 @@ RESULTS=$(patsubst %.html,results/%.proc outputs/%.processed: %.html Makefile $(PARSER) $(PARSER) $(PAFLAGS) $< > $@ -.PHONY: FORCE +.PHONY: FORCE all clean results/%.processed: outputs/%.processed FORCE - $(DIFF) $< $@ + @$(DIFF) $< $@ + +all: tests tests: outputs compares outputs: $(OUTPUTS) -compares: $(RESULTS) \ No newline at end of file +compares: $(RESULTS) + @$(ECHO) All tests passed OK + +clean: + $(RM) -f outputs/*.processed