goat3d
annotate libs/openctm/Makefile @ 14:188c697b3b49
- added a document describing the goat3d file format chunk hierarchy
- started an alternative XML-based file format
- added the openctm library
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 26 Sep 2013 04:47:05 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@14 | 1 src = $(wildcard *.c) $(wildcard liblzma/*.c) |
nuclear@14 | 2 obj = $(src:.c=.o) |
nuclear@14 | 3 lib = libopenctm.a |
nuclear@14 | 4 |
nuclear@14 | 5 ifneq ($(shell uname -s), Darwin) |
nuclear@14 | 6 pic = -fPIC |
nuclear@14 | 7 endif |
nuclear@14 | 8 |
nuclear@14 | 9 CFLAGS = -g -Iliblzma $(pic) |
nuclear@14 | 10 |
nuclear@14 | 11 $(lib): $(obj) |
nuclear@14 | 12 $(AR) rcs $@ $(obj) |
nuclear@14 | 13 |
nuclear@14 | 14 .PHONY: clean |
nuclear@14 | 15 clean: |
nuclear@14 | 16 rm -f $(obj) $(lib) |