goat3d

diff libs/tinyxml2/Makefile @ 22:44a20d72f3a6

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 27 Sep 2013 07:14:49 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/tinyxml2/Makefile	Fri Sep 27 07:14:49 2013 +0300
     1.3 @@ -0,0 +1,15 @@
     1.4 +obj = tinyxml2.o
     1.5 +lib = libtinyxml2.a
     1.6 +
     1.7 +ifneq ($(shell uname -s), Darwin)
     1.8 +	pic = -fPIC
     1.9 +endif
    1.10 +
    1.11 +CXXFLAGS = -pedantic -Wall -g $(pic)
    1.12 +
    1.13 +$(lib): $(obj)
    1.14 +	$(AR) rcs $@ $(obj)
    1.15 +
    1.16 +.PHONY: clean
    1.17 +clean:
    1.18 +	rm -f $(obj) $(lib)