metasurf

diff examples/volume/Makefile @ 5:dedd153d2ceb

- fixed makefile to produce non-broken shared objects - removed glutGetModifiers from the motion callback and placed it in the mouse callback as apparently it's not supposed to be called from there. - added MacOSX include paths in the examples
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Oct 2011 23:38:39 +0300
parents 52664d3451ad
children 94220a9600b3
line diff
     1.1 --- a/examples/volume/Makefile	Tue Oct 25 23:21:32 2011 +0300
     1.2 +++ b/examples/volume/Makefile	Tue Oct 25 23:38:39 2011 +0300
     1.3 @@ -7,11 +7,12 @@
     1.4  #nosdr = -DNO_SHADERS
     1.5  
     1.6  CC = gcc
     1.7 -CFLAGS = -pedantic -Wall -g -I../../src $(nosdr)
     1.8 +CFLAGS = -pedantic -Wall -g -I../../src $(inc) $(nosdr)
     1.9  LDFLAGS = -L../.. -lmetasurf $(libgl) -limago
    1.10  
    1.11  ifeq ($(shell uname -s), Darwin)
    1.12 -	libgl = -framework OpenGL -framework GLUT -lGLEW
    1.13 +	inc = -I/opt/local/include
    1.14 +	libgl = -L/opt/local/lib -framework OpenGL -framework GLUT -lGLEW
    1.15  else
    1.16  	libgl = -lGL -lGLU -lglut -lGLEW
    1.17  endif