Merge pull request #443 from TheZoc/patch-1

Standardized static library output name
This commit is contained in:
Lee Thomason 2016-06-09 16:25:14 -07:00 committed by GitHub
commit 2fe47ead77
1 changed files with 4 additions and 4 deletions

View File

@ -2,17 +2,17 @@ all: xmltest staticlib
rebuild: clean all
xmltest: xmltest.cpp tinyxml2.a
xmltest: xmltest.cpp libtinyxml2.a
clean:
$(RM) *.o xmltest tinyxml2.a
$(RM) *.o xmltest libtinyxml2.a
test: clean xmltest
./xmltest
staticlib: tinyxml2.a
staticlib: libtinyxml2.a
tinyxml2.a: tinyxml2.o
libtinyxml2.a: tinyxml2.o
$(AR) $(ARFLAGS)s $@ $^
tinyxml2.o: tinyxml2.cpp tinyxml2.h