From 04639a59a5cea165081282c54c791faca1529f14 Mon Sep 17 00:00:00 2001 From: "Felipe \"Zoc\" Silveira" Date: Wed, 8 Jun 2016 19:11:37 -0300 Subject: [PATCH] Standardized static library output name Renamed ```tinyxml2.a``` to ```libtinyxml2.a```, to allow proper linking using the ```-l``` flag on gcc. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 20777bc..eba6fef 100644 --- a/Makefile +++ b/Makefile @@ -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