# HG changeset patch # User John Tsiombikas # Date 1382226429 -10800 # Node ID 94220a9600b35384562554e5a04a7c2002e4ca2e # Parent 246260d95415bafc9be8e1eb8c5771e09ccb0f05 added missing -lm flags diff -r 246260d95415 -r 94220a9600b3 examples/metaballs/Makefile --- a/examples/metaballs/Makefile Sat Jan 21 04:15:30 2012 +0200 +++ b/examples/metaballs/Makefile Sun Oct 20 02:47:09 2013 +0300 @@ -8,7 +8,7 @@ CC = gcc CFLAGS = -pedantic -Wall -g -I../../src $(inc) $(nosdr) -LDFLAGS = -L../.. -lmetasurf $(libgl) +LDFLAGS = -L../.. -lmetasurf $(libgl) -lm ifeq ($(shell uname -s), Darwin) inc = -I/opt/local/include diff -r 246260d95415 -r 94220a9600b3 examples/simple/Makefile --- a/examples/simple/Makefile Sat Jan 21 04:15:30 2012 +0200 +++ b/examples/simple/Makefile Sun Oct 20 02:47:09 2013 +0300 @@ -4,7 +4,7 @@ CC = gcc CFLAGS = -pedantic -Wall -g -I../../src -LDFLAGS = -L../.. -lmetasurf $(libgl) +LDFLAGS = -L../.. -lmetasurf $(libgl) -lm ifeq ($(shell uname -s), Darwin) libgl = -framework OpenGL -framework GLUT diff -r 246260d95415 -r 94220a9600b3 examples/volume/Makefile --- a/examples/volume/Makefile Sat Jan 21 04:15:30 2012 +0200 +++ b/examples/volume/Makefile Sun Oct 20 02:47:09 2013 +0300 @@ -8,7 +8,7 @@ CC = gcc CFLAGS = -pedantic -Wall -g -I../../src $(inc) $(nosdr) -LDFLAGS = -L../.. -lmetasurf $(libgl) -limago +LDFLAGS = -L../.. -lmetasurf $(libgl) -limago -lm ifeq ($(shell uname -s), Darwin) inc = -I/opt/local/include