goat3d

view converters/ass2goat/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 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 dep = $(obj:.o=.d)
4 bin = ass2goat
6 CC = clang
7 CPP = clang -E
8 CFLAGS = -pedantic -Wall -g $(goatinc)
9 LDFLAGS = -lgoat3d -lassimp
11 $(bin): $(obj)
12 $(CC) -o $@ $(obj) $(LDFLAGS)
14 -include $(dep)
16 %.d: %.c
17 @$(CPP) $(CFLAGS) $< -MM -MT $(@:.d=.o) >$@
19 .PHONY: clean
20 clean:
21 rm -f $(obj) $(bin)
23 .PHONY: cleandep
24 cleandep:
25 rm -f $(dep)