|
|
| version 1.1.2.8.2.1, 2003/03/24 14:53:58 | version 1.5, 2015/05/27 13:24:35 |
|---|---|
| Line 1 | Line 1 |
| ifdef COMSPEC | ifdef COMSPEC |
| PARSER_DIR=../src/targets/cgi/debug | PARSER_DIR=../src/targets/cgi/release |
| PARSER_EXECUTABLE=$(PARSER_DIR)/parser3.exe | PARSER_EXECUTABLE=$(PARSER_DIR)/parser3.exe |
| PARSER_CONFIG=$(PARSER_DIR)/auto.p | |
| else | else |
| PARSER_DIR=../src/targets/cgi | PARSER_DIR=../src/targets/cgi |
| PARSER_EXECUTABLE=$(PARSER_DIR)/parser3 | PARSER_EXECUTABLE=$(PARSER_DIR)/parser3 |
| PARSER_CONFIG=$(PARSER_DIR)/auto.p | |
| endif | endif |
| PARSER_CONFIG=results/auto.p | |
| RUN_PARSER=./run_parser.sh | RUN_PARSER=./run_parser.sh |
| DIFF=diff | DIFF=diff -b |
| ECHO=echo | |
| RM=rm | RM=rm |
| # | # |
| OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html)) | OUTPUTS=$(patsubst %.html,outputs/%.processed,$(sort $(wildcard *.html))) |
| RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html)) | RESULTS=$(patsubst %.html,results/%.processed,$(sort $(wildcard *.html))) |
| outputs/%.processed: %.html | outputs/%.processed: %.html |
| # Makefile $(RUN_PARSER) $(PARSER_EXECUTABLE) $(PARSER_CONFIG) | $(RUN_PARSER) $(PARSER_EXECUTABLE) $< $(PARSER_CONFIG) > $@ |
| $(RUN_PARSER) $(PARSER_EXECUTABLE) $< > $@ | |
| .PHONY: FORCE all tests clean install install-exec install-data | .PHONY: FORCE all tests clean install install-exec install-data |
| Line 32 tests: outputs compares | Line 29 tests: outputs compares |
| outputs: $(OUTPUTS) | outputs: $(OUTPUTS) |
| compares: $(RESULTS) | compares: $(RESULTS) |
| @$(ECHO) DONE | |
| clean: | clean: |
| $(RM) -f outputs/*.processed | $(RM) -f outputs/*.processed |