goat3d

view converters/ass2goat/Makefile @ 58:d317eb4f83da

- made everything compile properly on windows again - removed libanim/libvmath, we'll use them as external dependencies - added new maxgoat_stub 3dsmax plugin project. Gets loaded as a max plugin and loads the actual maxgoat (and later maxgoat_anim) exporters on demand, to allow reloading the actual exporters without having to restart 3dsmax (which takes AGES).
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Mar 2014 03:19:55 +0200
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)