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

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.4 ! paf        13: RM=rm
1.1.2.1   paf        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
                     24: 
                     25: results/%.processed: outputs/%.processed FORCE
1.1.2.2   paf        26:        @$(DIFF) $< $@
1.1.2.1   paf        27: 
                     28: tests: outputs compares
1.1.2.4 ! paf        29: clean:
        !            30:        $(RM) outputs/*.processed
1.1.2.1   paf        31: 
                     32: outputs: $(OUTPUTS)
                     33: 
1.1.2.3   paf        34: compares: $(RESULTS)
                     35:        @$(ECHO) All tests passed OK

E-mail: