From 764be77f3acd9f1d412247e9468e38ebb9117478 Mon Sep 17 00:00:00 2001 From: Syohei YOSHIDA Date: Thu, 7 Nov 2013 07:40:52 +0900 Subject: [PATCH] add '-lm' --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b74f74e1..40399c30 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ build-lib: cd src; \ yacc -d parse.y; \ lex scan.l - $(CC) $(CFLAGS) -shared src/*.c -o lib/libpicrin.so -I./include -I./extlib + $(CC) $(CFLAGS) -shared src/*.c -o lib/libpicrin.so -I./include -I./extlib -lm clean: rm -f src/y.tab.c src/y.tab.h src/lex.yy.c