clray
diff Makefile @ 40:1bcbb53b3505
segfault on exit?
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 27 Aug 2010 19:00:14 +0100 |
parents | 407935b73af3 |
children | 1169f3d04135 |
line diff
1.1 --- a/Makefile Fri Aug 27 18:30:09 2010 +0100 1.2 +++ b/Makefile Fri Aug 27 19:00:14 2010 +0100 1.3 @@ -4,7 +4,7 @@ 1.4 bin = test 1.5 1.6 CXX = g++ 1.7 -CXXFLAGS = -pedantic -Wall -g 1.8 +CXXFLAGS = -pedantic -Wall -g $(def) 1.9 LDFLAGS = $(libgl) $(libcl) -lpthread 1.10 1.11 ifeq ($(shell uname -s), Darwin) 1.12 @@ -13,6 +13,8 @@ 1.13 else 1.14 libgl = -lGL -lglut 1.15 libcl = -lOpenCL 1.16 + 1.17 + def = -DCLGL_INTEROP 1.18 endif 1.19 1.20 $(bin): $(obj)