goat3d

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/openctm/Makefile	Thu Sep 26 04:47:05 2013 +0300
     1.3 @@ -0,0 +1,16 @@
     1.4 +src = $(wildcard *.c) $(wildcard liblzma/*.c)
     1.5 +obj = $(src:.c=.o)
     1.6 +lib = libopenctm.a
     1.7 +
     1.8 +ifneq ($(shell uname -s), Darwin)
     1.9 +	pic = -fPIC
    1.10 +endif
    1.11 +
    1.12 +CFLAGS = -g -Iliblzma $(pic)
    1.13 +
    1.14 +$(lib): $(obj)
    1.15 +	$(AR) rcs $@ $(obj)
    1.16 +
    1.17 +.PHONY: clean
    1.18 +clean:
    1.19 +	rm -f $(obj) $(lib)