textures, overlay images, libimago
[demo_prior] / Makefile
index 7669326..7dcbb03 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,12 @@ bin = demo
 warn = -pedantic -Wall -g
 def = -DMINIGLUT_USE_LIBC
 
-incpath = -Ilibs/glew -Ilibs/treestore/src -Ilibs/cgmath
-libpath = -Llibs/glew -Llibs/treestore
+incpath = -Ilibs/cgmath -Ilibs/glew -Ilibs/treestore/src -Ilibs/imago2/src
+libpath = -Llibs/glew -Llibs/treestore -Llibs/imago2
 
 CFLAGS = $(warn) $(def) $(incpath) -MMD
-LDFLAGS = $(libpath) -lX11 -lXext -lGL -lGLU -lglut -lglew_static -ltreestore -lm
+LDFLAGS = $(libpath) -lX11 -lXext -lGL -lGLU -lglut -lglew_static -ltreestore \
+                 -limago -lpng -lz -ljpeg -lm
 
 $(bin): $(obj) libs
        $(CC) -o $@ $(obj) $(LDFLAGS)