glviewvol
changeset 15:2a67ea257ac0 tip
makefile fixes for macosx
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 06 Feb 2015 23:47:28 +0200 |
parents | 0d2447b9c512 |
children | |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/Makefile Thu Jan 01 06:36:45 2015 +0200 1.2 +++ b/Makefile Fri Feb 06 23:47:28 2015 +0200 1.3 @@ -12,12 +12,13 @@ 1.4 1.5 CFLAGS = -pedantic -Wall -fopenmp $(opt) $(dbg) $(def) $(inc) 1.6 CXXFLAGS = $(CFLAGS) 1.7 -LDFLAGS = $(libgl) -lm -limago -lgomp 1.8 +LDFLAGS = $(libgl) -lm -limago $(libomp) 1.9 1.10 ifeq ($(shell uname -s), Darwin) 1.11 libgl = -framework OpenGL -framework GLUT -lGLEW 1.12 else 1.13 libgl = -lGL -lGLU -lglut -lGLEW 1.14 + libomp = -lgomp 1.15 endif 1.16 1.17 $(bin): $(obj)