1 # $Id: Makefile,v 1.8 2002-11-26 15:51:48 mike Exp $
4 # Change this to "./xmlpp.pl" if you want to check for equivalence
6 test: sections/01/01.cql sections/01/01.xcql
7 ./runtests ../../bin/CQLParser $(XMLCANONICALISER)
9 test-adam: sections/01/01.cql sections/01/01.xcql
10 ./runtests ../../../srw/cql/cqlshell $(XMLCANONICALISER)
12 test-rob: sections/01/01.cql sections/01/01.xcql
13 ./runtests ../../../rob/CQLParser.py $(XMLCANONICALISER)
15 sections/01/01.cql: mktests queries.raw
18 sections/01/01.xcql: mkanswers
19 ./mkanswers ../../bin/CQLParser
20 # OR ./mkanswers ../../../srw/cql/cqlshell
21 # OR ./mkanswers ../../../rob/CQLParser.py
22 # Depending on which parser you want to use as your reference
25 @echo "Nothing to do to 'make clean'"
28 find sections . -name '*.cql' -exec rm \{\} \;
31 find sections . -name '*.xcql' -exec rm \{\} \;