all: lib/Counter.class lib/Calculator.class clean: rm -rf lib/* src/generated/ExpressionTag.java src/generated/GraphTag.java src/generated/TreeTag.java Generate: lib/Generate.class Calculator: lib/Calculator.class Counter: lib/Counter.class GENERATE_DEPENDS= \ src/Generate.java \ src/parser/Parser.java \ src/scanner/Scanner.java \ src/scanner/Token.java \ src/util/ScannerException.java \ src/util/InvalidXmlException.java \ src/util/ParserException.java \ src/util/InvalidDTDException.java \ src/tree/XMLTree.java \ src/tree/Inserter.java \ src/tree/XMLValidityException.java \ src/tree/XMLNode.java \ src/tree/InserterPrivate.java \ src/generator/XMLCodeGen.java \ src/generated/InvalidXMLException.java \ src/generated/TYPETag.java \ src/generated/TagBase.java CALCULATOR_DEPENDS= \ src/Calculator.java \ src/generated/ExpressionTag.java \ src/generated/TagBase.java \ src/generated/InvalidXMLException.java \ src/tree/XMLTree.java \ src/tree/XMLNode.java \ src/tree/Inserter.java \ src/tree/XMLValidityException.java \ src/tree/InserterPrivate.java \ src/parser/Parser.java \ src/scanner/Scanner.java \ src/scanner/Token.java \ src/util/ScannerException.java \ src/util/InvalidXmlException.java \ src/util/ParserException.java COUNTER_DEPENDS= \ src/Counter.java \ src/generated/TreeTag.java \ src/generated/TagBase.java \ src/generated/InvalidXMLException.java \ src/tree/XMLTree.java \ src/tree/XMLNode.java \ src/tree/Inserter.java \ src/tree/XMLValidityException.java \ src/tree/InserterPrivate.java \ src/parser/Parser.java \ src/scanner/Scanner.java \ src/scanner/Token.java \ src/util/ScannerException.java \ src/util/InvalidXmlException.java \ src/util/ParserException.java lib/Generate.class: ${GENERATE_DEPENDS} cd src; javac -d ../lib Generate.java; cd .. lib/Calculator.class: ${CALCULATOR_DEPENDS} cd src; javac -d ../lib Calculator.java; cd .. lib/Counter.class: ${COUNTER_DEPENDS} cd src; javac -d ../lib Counter.java; cd .. src/generated/EmailTag.java: lib/Generate.class test/dtd/Email.dtd cd lib; java Generate ../test/dtd/Email.dtd > ../src/generated/EmailTag.java; cd .. src/generated/ExpressionTag.java: lib/Generate.class test/dtd/Expression.dtd cd lib; java Generate ../test/dtd/Expression.dtd > ../src/generated/ExpressionTag.java; cd .. src/generated/GraphTag.java: lib/Generate.class test/dtd/Graph.dtd cd lib; java Generate ../test/dtd/Graph.dtd > ../src/generated/GraphTag.java; cd .. src/generated/TreeTag.java: lib/Generate.class test/dtd/Tree.dtd cd lib; java Generate ../test/dtd/Tree.dtd > ../src/generated/TreeTag.java; cd ..