2016-05-22 03:14:31 +00:00
|
|
|
all: xmltest staticlib
|
|
|
|
|
|
|
|
rebuild: clean all
|
|
|
|
|
2016-06-08 22:11:37 +00:00
|
|
|
xmltest: xmltest.cpp libtinyxml2.a
|
2016-05-22 03:14:31 +00:00
|
|
|
|
|
|
|
clean:
|
2016-06-08 22:11:37 +00:00
|
|
|
$(RM) *.o xmltest libtinyxml2.a
|
2016-05-22 03:14:31 +00:00
|
|
|
|
2013-07-31 15:01:12 +00:00
|
|
|
test: clean xmltest
|
|
|
|
./xmltest
|
2016-05-22 03:14:31 +00:00
|
|
|
|
2016-06-08 22:11:37 +00:00
|
|
|
staticlib: libtinyxml2.a
|
2016-05-22 03:14:31 +00:00
|
|
|
|
2016-06-08 22:11:37 +00:00
|
|
|
libtinyxml2.a: tinyxml2.o
|
2016-05-22 03:14:31 +00:00
|
|
|
$(AR) $(ARFLAGS)s $@ $^
|
|
|
|
|
|
|
|
tinyxml2.o: tinyxml2.cpp tinyxml2.h
|
|
|
|
|