Просмотр исходного кода

Merge pull request #124 from diasbruno/makefile-test

added test rule.
Lee Thomason 12 лет назад
Родитель
Сommit
70d343f513
1 измененных файлов с 2 добавлено и 0 удалено
  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