clray

diff Makefile @ 45:8047637961a2

fixed the issue of hitting maximum vertical image sizes for large kdtrees
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Aug 2010 04:20:42 +0100
parents 1169f3d04135
children 9c0867942612
line diff
     1.1 --- a/Makefile	Sat Aug 28 21:50:17 2010 +0100
     1.2 +++ b/Makefile	Sun Aug 29 04:20:42 2010 +0100
     1.3 @@ -3,15 +3,18 @@
     1.4  dep = $(obj:.o=.d)
     1.5  bin = test
     1.6  
     1.7 +opt = -O3 -ffast-math
     1.8 +dbg = -g
     1.9 +
    1.10  CXX = g++
    1.11 -CXXFLAGS = -pedantic -Wall -g $(def)
    1.12 +CXXFLAGS = -pedantic -Wall $(dbg) $(opt) $(def)
    1.13  LDFLAGS = $(libgl) $(libcl) -lpthread
    1.14  
    1.15  ifeq ($(shell uname -s), Darwin)
    1.16  	libgl = -framework OpenGL -framework GLUT
    1.17  	libcl = -framework OpenCL
    1.18  else
    1.19 -	libgl = -lGL -lglut
    1.20 +	libgl = -lGL -lGLU -lglut
    1.21  	libcl = -lOpenCL
    1.22  	def = -DCLGL_INTEROP
    1.23  endif