glviewvol

diff Makefile @ 9:931a6b35f1cd

added lighting and openmp normal calculation
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 30 Dec 2014 21:20:57 +0200
parents fb6d93471352
children 73edd1b7c2da
line diff
     1.1 --- a/Makefile	Tue Dec 30 20:03:32 2014 +0200
     1.2 +++ b/Makefile	Tue Dec 30 21:20:57 2014 +0200
     1.3 @@ -10,9 +10,9 @@
     1.4  def = -DUSE_GLUT
     1.5  #inc =
     1.6  
     1.7 -CFLAGS = -pedantic -Wall $(opt) $(dbg) $(def) $(inc)
     1.8 +CFLAGS = -pedantic -Wall -fopenmp $(opt) $(dbg) $(def) $(inc)
     1.9  CXXFLAGS = $(CFLAGS)
    1.10 -LDFLAGS = $(libgl) -lm -limago
    1.11 +LDFLAGS = $(libgl) -lm -limago -lgomp
    1.12  
    1.13  ifeq ($(shell uname -s), Darwin)
    1.14  	libgl = -framework OpenGL -framework GLUT -lGLEW