e4aebd659b53acfdb005054e9a93773cb1861870 max Tue Sep 22 00:51:11 2015 -0700 modifying cscope indexing a bit, refs #14062 diff --git src/makefile src/makefile index 76f19b2..e1a61f2 100644 --- src/makefile +++ src/makefile @@ -82,48 +82,49 @@ ( cd $$D && echo $$D && ${MAKE} clean ) ;\ x=$$? ; if [ $$x -ne 0 ]; then exit $$x ; fi \ fi ;\ done cd parasol && ${MAKE} clean cd lib && ${MAKE} clean cd hg && ${MAKE} clean cd hg && ${MAKE} clean_utils cd jkOwnLib && ${MAKE} clean cd utils && ${MAKE} clean cd webBlat && ${MAKE} clean cd isPcr && ${MAKE} clean touch non-empty-rm.o - find . -name \*.o -print | xargs rm rm -f tags TAGS + rm -f cscope.out cscope.files cscope.po.out testDirs = lib utils blat gfServer hg test:: $(testDirs:%=%.test) %.test: cd $* && ${MAKE} test LIB_TAGS_IN = lib/*.[hc] */lib/*.[hc] */*/lib/*.[hc] */*/*/lib/*.[hc] jkOwnLib/*.c \ inc/*.h */inc/*.h */*/inc/*.h */*/*/inc/*.h # build tags for libraries .PHONY: tags tags: ctags ${LIB_TAGS_IN} -cscope: +cscope.out: find `pwd` -name '*.c' -o -name '*.h' > cscope.files cscope -qRb `cat cscope.files` -search: +search: cscope.out cscope -d # build emacs tags for libraries .PHONY: etags etags: etags ${LIB_TAGS_IN} # build tags for all files .PHONY: tags-all tags-all: find . -name '*.[ch]' | ctags -L - # build emacs tags for all files .PHONY: etags-all etags-all: