goat3d
view converters/ass2goat/Makefile @ 39:0e48907847ad
slugishly progressing with the blender exporter
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 09 Oct 2013 16:40:59 +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)