Explorar o código

added test rule.

Bruno Dias %!s(int64=12) %!d(string=hai) anos
pai
achega
032aa1b96c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Makefile

+ 2 - 0
Makefile

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