浏览代码

added test rule.

Bruno Dias 13 年之前
父节点
当前提交
032aa1b96c
共有 1 个文件被更改,包括 2 次插入0 次删除
  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