.PHONY: cscope
cscope:
	rm -f cscope.*
	echo "-k" >> cscope.files
	echo "-I inc" >> cscope.files
	find . -maxdepth 2 -name '*.c' -print >>cscope.files
	find . -maxdepth 2 -name '*.h' -print >>cscope.files
	find ../libocfs2/ -maxdepth 2 -name '*.h' -print >>cscope.files
	find ../libocfs2/ -maxdepth 2 -name '*.c' -print >>cscope.files
	cscope -b
