library option is not needed when compiling a shared library

This commit is contained in:
Yuichi Nishiwaki 2013-10-20 21:08:10 +09:00
parent ce6233b8f7
commit 38c3aa7faf
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ build-lib:
cd src; \
yacc -d parse.y; \
lex scan.l
$(CC) -Wall -shared -o lib/libpicrin.so -I./include -lreadline src/*.c
$(CC) -Wall -shared -o lib/libpicrin.so -I./include src/*.c
clean:
rm -f src/y.tab.c src/y.tab.h src/lex.yy.c