summaryrefslogtreecommitdiff
path: root/meme/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2015-03-14 21:35:46 (GMT)
committerWerner Almesberger <werner@almesberger.net>2015-03-14 21:35:46 (GMT)
commit83e28d001844f160bfe73a35dd03868a9971756a (patch)
tree313080fd5746915113b97ab34109c804a9ebb163 /meme/Makefile
parent6b7491bd5298dd31c09c63bf08adbc1f7013345d (diff)
downloadmisc-83e28d001844f160bfe73a35dd03868a9971756a.zip
misc-83e28d001844f160bfe73a35dd03868a9971756a.tar.gz
misc-83e28d001844f160bfe73a35dd03868a9971756a.tar.bz2
meme/slice.c (slice_plane): use proper linear regression for finding the plane
Luckily, GSL has all the math we need: https://www.gnu.org/software/gsl/manual/html_node/Robust-linear-regression.html#Robust-linear-regression
Diffstat (limited to 'meme/Makefile')
-rw-r--r--meme/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/meme/Makefile b/meme/Makefile
index 6032648..617ed21 100644
--- a/meme/Makefile
+++ b/meme/Makefile
@@ -15,7 +15,7 @@ include Makefile.c-common
CFLAGS = -Wall -Wshadow -g -O9
OBJS = meme.o stl.o mesh.o gui.o time.o plane.o text.o gaux.o overlay.o slice.o
CFLAGS += $(shell sdl-config --cflags)
-LDLIBS = $(shell sdl-config --libs) -lSDL_gfx -lSDL_Pango -lm
+LDLIBS = $(shell sdl-config --libs) -lSDL_gfx -lSDL_Pango -lgsl -lgslcblas -lm
NAME = meme