Annotation of parser3/tests/Makefile, revision 1.1.2.1
1.1.2.1 ! paf 1: ifdef COMSPEC
! 2: PARSER=../src/targets/cgi/debug/parser3.exe
! 3: else
! 4: PARSER=../src/targets/cgi/parser3
! 5: endif
! 6:
! 7: PAFLAGS=-H
! 8:
! 9: #
! 10:
! 11: DIFF=diff
! 12: ECHO=echo
! 13: RM=rm
! 14:
! 15: #
! 16:
! 17: OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))
! 18: RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))
! 19:
! 20: outputs/%.processed: %.html Makefile $(PARSER)
! 21: $(PARSER) $(PAFLAGS) $< > $@
! 22:
! 23: .PHONY: FORCE all clean
! 24:
! 25: results/%.processed: outputs/%.processed FORCE
! 26: @$(DIFF) $< $@
! 27:
! 28: all: tests
! 29:
! 30: tests: outputs compares
! 31:
! 32: outputs: $(OUTPUTS)
! 33:
! 34: compares: $(RESULTS)
! 35: @$(ECHO) All tests passed OK
! 36:
! 37: clean:
! 38: $(RM) -f outputs/*.processed
E-mail: