goat3d

view libs/tinyxml2/Makefile @ 23:b59a3650ed51

mac fixes
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 27 Sep 2013 07:20:22 +0300
parents
children
line source
1 obj = tinyxml2.o
2 lib = libtinyxml2.a
4 ifneq ($(shell uname -s), Darwin)
5 pic = -fPIC
6 endif
8 CXXFLAGS = -pedantic -Wall -g $(pic)
10 $(lib): $(obj)
11 $(AR) rcs $@ $(obj)
13 .PHONY: clean
14 clean:
15 rm -f $(obj) $(lib)