1 src = $(wildcard src/*.c)
6 warn = -pedantic -Wall -g
7 def = -DMINIGLUT_USE_LIBC
9 incpath = -Ilibs/glew -Ilibs/treestore/src -Ilibs/cgmath
10 libpath = -Llibs/glew -Llibs/treestore
12 CFLAGS = $(warn) $(def) $(incpath) -MMD
13 LDFLAGS = $(libpath) -lX11 -lXext -lGL -lGLU -lglut -lglew_static -ltreestore -lm
16 $(CC) -o $@ $(obj) $(LDFLAGS)
29 clean-all: clean cleandep clean-libs