goat3d
annotate libs/tinyxml2/Makefile @ 75:76dea247f75c
in progress
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 08 May 2014 00:50:16 +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) |