goat3d

view libs/vmath/Makefile @ 40:a5c5cec3cb88

- added mesh attribute and face append functions - added Int4 constructor - continued the blender exporter - fixed a bug in clean_filename which made it produce unterminated strings - renamed clean_filename to goat3d_clean_filename and made it extern - added call to goat3d_clean_filename in the mesh XML export code to cleanup ctm filenames
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 13 Oct 2013 10:14:19 +0300
parents
children
line source
1 csrc = $(wildcard *.c)
2 ccsrc = $(wildcard *.cc)
3 obj = $(csrc:.c=.o) $(ccsrc:.cc=.o)
4 lib = libvmath.a
6 ifneq ($(shell uname -s), Darwin)
7 pic = -fPIC
8 endif
10 CFLAGS = -pedantic -Wall -g $(pic)
11 CXXFLAGS = -pedantic -Wall -g $(pic)
13 $(lib): $(obj)
14 $(AR) rcs $@ $(obj)
16 .PHONY: clean
17 clean:
18 rm -f $(obj) $(lib)