added test rule.
@@ -1,4 +1,6 @@
all: xmltest
xmltest: xmltest.cpp tinyxml2.cpp tinyxml2.h
+test: clean xmltest
+ ./xmltest
clean:
rm -f *.o xmltest