goat3d
annotate libs/tinyxml2/Makefile @ 38:60f2037680ee
split the exporter into two files to make it more readable (and maybe make an importer too at some point?)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 07 Oct 2013 20:02:57 +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) |