goat3d
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libs/vmath/Makefile Sun Sep 29 21:53:03 2013 +0300 1.3 @@ -0,0 +1,18 @@ 1.4 +csrc = $(wildcard *.c) 1.5 +ccsrc = $(wildcard *.cc) 1.6 +obj = $(csrc:.c=.o) $(ccsrc:.cc=.o) 1.7 +lib = libvmath.a 1.8 + 1.9 +ifneq ($(shell uname -s), Darwin) 1.10 + pic = -fPIC 1.11 +endif 1.12 + 1.13 +CFLAGS = -pedantic -Wall -g $(pic) 1.14 +CXXFLAGS = -pedantic -Wall -g $(pic) 1.15 + 1.16 +$(lib): $(obj) 1.17 + $(AR) rcs $@ $(obj) 1.18 + 1.19 +.PHONY: clean 1.20 +clean: 1.21 + rm -f $(obj) $(lib)