goat3d

annotate 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
rev   line source
nuclear@19 1 obj = tinyxml2.o
nuclear@19 2 lib = libtinyxml2.a
nuclear@19 3
nuclear@19 4 ifneq ($(shell uname -s), Darwin)
nuclear@19 5 pic = -fPIC
nuclear@19 6 endif
nuclear@19 7
nuclear@19 8 CXXFLAGS = -pedantic -Wall -g $(pic)
nuclear@19 9
nuclear@19 10 $(lib): $(obj)
nuclear@19 11 $(AR) rcs $@ $(obj)
nuclear@19 12
nuclear@19 13 .PHONY: clean
nuclear@19 14 clean:
nuclear@19 15 rm -f $(obj) $(lib)