libanim

view example/Makefile @ 57:2da758956e50

added the option of lightweight pre-pass top-down recursive calculation of matrices instead of going through the existing lazy thread-specific caching algorithm.
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 09 Dec 2013 04:06:30 +0200
parents 2fe32e62e2a7
children
line source
1 src = $(wildcard *.c)
2 obj = $(src:.c=.o)
3 bin = test
5 CFLAGS = -pedantic -Wall -g -I../src
6 LDFLAGS = -L.. -lanim -lvmath $(libgl) -lm -lpthread
8 ifeq ($(shell uname -s), Darwin)
9 libgl = -framework OpenGL -framework GLUT
10 else
11 libgl = -lGL -lGLU -lglut
12 endif
14 $(bin): $(obj) ../libanim.a
15 $(CC) -o $@ $(obj) $(LDFLAGS)
17 .PHONY: clean
18 clean:
19 rm -f $(obj) $(bin)