From: Liu Yuan <tailai.ly at taobao.com> It is nice to get cscope.out by single line 'make cscope' Signed-off-by: Liu Yuan <tailai.ly at taobao.com> --- Makefile.am | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index cdc7165..62f3a71 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,6 +30,10 @@ dist-clean-local: clean-generic: rm -rf $(SPEC) $(TARFILE) +cscope: + @echo create cscope.out + @find -name '*.[ch]' > cscope.files + @cscope -bq $(SPEC): $(SPEC).in rm -f $@-t $@ -- 1.7.8.rc3 |