goat3d

view libs/vmath/Makefile @ 29:3d669155709d

- switched the unix build to use the internal vmath/anim as well - fixed a memory corruption issue which was caused by including the system-wide installed version of the anim.h header file - started the ass2goat assimp->goat3d converter
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Sep 2013 21:53:03 +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)