goat3d

view converters/ass2goat/Makefile @ 103:45a9d493e98c

fixed the input latency issue by calling QWidget::update() instead of QGLWidget::updateGL() update schedules an update instead of redrawing immediately.
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 12 Sep 2015 17:40:02 +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)