goat3d

view libs/tinyxml2/Makefile @ 98:b43d33f3ba69

[goatview] better LLVM/gcc detection [goatview] close_scene might have solved the occasional crashes on opening a second scene
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 21 May 2014 04:08:11 +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)