mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-13 19:01:23 +00:00
Standardized static library output name
Renamed ```tinyxml2.a``` to ```libtinyxml2.a```, to allow proper linking using the ```-l``` flag on gcc.
This commit is contained in:
parent
a572db13cf
commit
04639a59a5
8
Makefile
8
Makefile
@ -2,17 +2,17 @@ all: xmltest staticlib
|
|||||||
|
|
||||||
rebuild: clean all
|
rebuild: clean all
|
||||||
|
|
||||||
xmltest: xmltest.cpp tinyxml2.a
|
xmltest: xmltest.cpp libtinyxml2.a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) *.o xmltest tinyxml2.a
|
$(RM) *.o xmltest libtinyxml2.a
|
||||||
|
|
||||||
test: clean xmltest
|
test: clean xmltest
|
||||||
./xmltest
|
./xmltest
|
||||||
|
|
||||||
staticlib: tinyxml2.a
|
staticlib: libtinyxml2.a
|
||||||
|
|
||||||
tinyxml2.a: tinyxml2.o
|
libtinyxml2.a: tinyxml2.o
|
||||||
$(AR) $(ARFLAGS)s $@ $^
|
$(AR) $(ARFLAGS)s $@ $^
|
||||||
|
|
||||||
tinyxml2.o: tinyxml2.cpp tinyxml2.h
|
tinyxml2.o: tinyxml2.cpp tinyxml2.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user