goat3d

diff converters/ass2goat/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/converters/ass2goat/Makefile	Sun Sep 29 21:53:03 2013 +0300
     1.3 @@ -0,0 +1,25 @@
     1.4 +src = $(wildcard src/*.c)
     1.5 +obj = $(src:.c=.o)
     1.6 +dep = $(obj:.o=.d)
     1.7 +bin = ass2goat
     1.8 +
     1.9 +CC = clang
    1.10 +CPP = clang -E
    1.11 +CFLAGS = -pedantic -Wall -g $(goatinc)
    1.12 +LDFLAGS = -lgoat3d -lassimp
    1.13 +
    1.14 +$(bin): $(obj)
    1.15 +	$(CC) -o $@ $(obj) $(LDFLAGS)
    1.16 +
    1.17 +-include $(dep)
    1.18 +
    1.19 +%.d: %.c
    1.20 +	@$(CPP) $(CFLAGS) $< -MM -MT $(@:.d=.o) >$@
    1.21 +
    1.22 +.PHONY: clean
    1.23 +clean:
    1.24 +	rm -f $(obj) $(bin)
    1.25 +
    1.26 +.PHONY: cleandep
    1.27 +cleandep:
    1.28 +	rm -f $(dep)