metasurf

changeset 8:94220a9600b3

added missing -lm flags
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 20 Oct 2013 02:47:09 +0300
parents 246260d95415
children 1fd80c90d566
files examples/metaballs/Makefile examples/simple/Makefile examples/volume/Makefile
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/examples/metaballs/Makefile	Sat Jan 21 04:15:30 2012 +0200
     1.2 +++ b/examples/metaballs/Makefile	Sun Oct 20 02:47:09 2013 +0300
     1.3 @@ -8,7 +8,7 @@
     1.4  
     1.5  CC = gcc
     1.6  CFLAGS = -pedantic -Wall -g -I../../src $(inc) $(nosdr)
     1.7 -LDFLAGS = -L../.. -lmetasurf $(libgl)
     1.8 +LDFLAGS = -L../.. -lmetasurf $(libgl) -lm
     1.9  
    1.10  ifeq ($(shell uname -s), Darwin)
    1.11  	inc = -I/opt/local/include
     2.1 --- a/examples/simple/Makefile	Sat Jan 21 04:15:30 2012 +0200
     2.2 +++ b/examples/simple/Makefile	Sun Oct 20 02:47:09 2013 +0300
     2.3 @@ -4,7 +4,7 @@
     2.4  
     2.5  CC = gcc
     2.6  CFLAGS = -pedantic -Wall -g -I../../src
     2.7 -LDFLAGS = -L../.. -lmetasurf $(libgl)
     2.8 +LDFLAGS = -L../.. -lmetasurf $(libgl) -lm
     2.9  
    2.10  ifeq ($(shell uname -s), Darwin)
    2.11  	libgl = -framework OpenGL -framework GLUT
     3.1 --- a/examples/volume/Makefile	Sat Jan 21 04:15:30 2012 +0200
     3.2 +++ b/examples/volume/Makefile	Sun Oct 20 02:47:09 2013 +0300
     3.3 @@ -8,7 +8,7 @@
     3.4  
     3.5  CC = gcc
     3.6  CFLAGS = -pedantic -Wall -g -I../../src $(inc) $(nosdr)
     3.7 -LDFLAGS = -L../.. -lmetasurf $(libgl) -limago
     3.8 +LDFLAGS = -L../.. -lmetasurf $(libgl) -limago -lm
     3.9  
    3.10  ifeq ($(shell uname -s), Darwin)
    3.11  	inc = -I/opt/local/include