add '-lm'

This commit is contained in:
Syohei YOSHIDA 2013-11-07 07:40:52 +09:00
parent dcb3820054
commit 764be77f3a
1 changed files with 1 additions and 1 deletions

View File

@ -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