1 src = $(wildcard src/*.c) $(wildcard libs/miniglut/*.c)
6 opt = -O3 -ffast-math -fno-strict-aliasing
9 def = -DMINIGLUT_USE_LIBC
10 inc = -Ilibs -Ilibs/treestore -Ilibs/miniglut
11 libdir = -Llibs/treestore
13 CFLAGS = $(warn) $(opt) $(dbg) $(def) $(inc) -pthread -MMD
14 LDFLAGS = $(libgl) $(libs) -lm -pthread -limago -ltreestore
16 libgl = -lGL -lGLU -lX11 -lXext
19 $(CC) -o $@ $(obj) $(LDFLAGS)