Merge pull request #1 from syohex/add-libm

add '-lm'
This commit is contained in:
Yuichi Nishiwaki 2013-11-07 07:40:25 -08:00
commit 36d5e6c1e6
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