Annotation of parser3/www/htdocs/tests/Makefile, revision 1.1.2.3

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
1.1.2.3 ! paf        12: ECHO=echo
1.1.2.1   paf        13: 
                     14: #
                     15: 
                     16: OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))
                     17: RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))
                     18: 
                     19: outputs/%.processed: %.html Makefile $(PARSER)
                     20:        $(PARSER) $(PAFLAGS) $< > $@
                     21: 
                     22: .PHONY: FORCE
                     23: 
                     24: results/%.processed: outputs/%.processed FORCE
1.1.2.2   paf        25:        @$(DIFF) $< $@
1.1.2.1   paf        26: 
                     27: tests: outputs compares
                     28: 
                     29: outputs: $(OUTPUTS)
                     30: 
1.1.2.3 ! paf        31: compares: $(RESULTS)
        !            32:        @$(ECHO) All tests passed OK

E-mail: