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