Selaa lähdekoodia

added test rule.

Bruno Dias 12 vuotta sitten
vanhempi
commit
032aa1b96c
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      Makefile

+ 2 - 0
Makefile

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