Add distclean target; use Python2.5 includes

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3717 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2008-04-23 23:03:55 +00:00
parent 4ee38c84ca
commit 9f77f97434

View file

@ -1,7 +1,7 @@
# this parser needs flex >= 2.5.xx from http://lex.sf.net/
# for reentrant bison parser support
FLEX = flex
PYINCLUDE=-I/usr/include/python2.4
PYINCLUDE=-I/usr/include/python2.5
#PYINCLUDE="-I/home/calvin/src/python-gitsvn -I/home/calvin/src/python-gitsvn/Include"
all: htmllex.c htmlparse.c
@ -22,5 +22,8 @@ htmllex.c: htmllex.l htmlsax.h
awk -f fixincludes.awk htmllex.c > htmllex.c.fixed; mv -f htmllex.c.fixed htmllex.c
clean:
rm -f htmlparse.c htmlparse.h htmllex.c *.o *.so *.pyc *.pyo *.output
rm -f *.o *.so *.pyc *.pyo *.output
distclean: clean
rm -f htmlparse.c htmlparse.h htmllex.c