goat3d

view libs/openctm/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 *.c) $(wildcard liblzma/*.c)
2 obj = $(src:.c=.o)
3 lib = libopenctm.a
5 ifneq ($(shell uname -s), Darwin)
6 pic = -fPIC
7 endif
9 CFLAGS = -g -Iliblzma $(pic)
11 $(lib): $(obj)
12 $(AR) rcs $@ $(obj)
14 .PHONY: clean
15 clean:
16 rm -f $(obj) $(lib)