mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-27 17:44:42 +00:00
minor improvements
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1294 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
1b148b0b4e
commit
8e4e92dddd
1 changed files with 8 additions and 4 deletions
|
|
@ -1,12 +1,13 @@
|
|||
# use beta flex from http://lex.sf.net/ for reentrant
|
||||
# bison parser support
|
||||
# parser needs flex >= 2.5.xx from http://lex.sf.net/
|
||||
# for reentrant bison parser support!
|
||||
FLEX=flex
|
||||
PYTHON=python2.3
|
||||
PYVER=2.3
|
||||
PYTHON=python$(PYVER)
|
||||
|
||||
all: htmllex.c htmlparse.c
|
||||
|
||||
%.o: %.c
|
||||
gcc -g -O -Wall -pedantic -Wstrict-prototypes -fPIC -I. -I/usr/include/$(PYTHON) -c $< -o $@
|
||||
gcc -g -O2 -Wall -pedantic -Wstrict-prototypes -fPIC -I. -I/usr/include/$(PYTHON) -c $< -o $@
|
||||
|
||||
htmlparse.h htmlparse.c: htmlparse.y htmlsax.h
|
||||
bison htmlparse.y
|
||||
|
|
@ -21,3 +22,6 @@ test: testsax
|
|||
|
||||
clean:
|
||||
rm -f htmlparse.c htmlparse.h htmllex.c *.o *.output
|
||||
|
||||
splint:
|
||||
splint -initallelements +posixlib -I/usr/include/linux -I. -I/usr/include/$(PYTHON) htmllex.c | less
|
||||
|
|
|
|||
Loading…
Reference in a new issue