goat3d
annotate libs/tinyxml2/Makefile @ 22:44a20d72f3a6
merged
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 27 Sep 2013 07:14:49 +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) |