TESTER = unittest
TESTOBJS = run.o AttrMapTest.o XMLTokenTest.o TokenizerTest.o \
	SAX_ParserTest.o DocumentTest.o ElementTest.o AttributeTest.o \
	TextTest.o CommentTest.o DOM_ParserTest.o FunctionsTest.o \
	NodeListTest.o

LDFLAGS = -g  `cppunit-config --libs`
CXXFLAGS = -c -g  -ansi `cppunit-config --cflags`

all : $(TESTER)
$(TESTER) : $(TESTOBJS)
	$(CXX) $(LDFLAGS) $(TESTOBJS) -o $(TESTER)

.PHONY : clean
clean : 
	$(RM) *.o *~ $(TESTER)

%.o : %.cpp
	$(CXX) $(CXXFLAGS) $< -o $@
