0f2f63872750e24c22a42a5d885f99d1850f36a4 max Tue Jun 24 04:13:30 2014 -0700 adding cscope to makefile, extension of ctags diff --git src/makefile src/makefile index 9392b37..bddd22b 100644 --- src/makefile +++ src/makefile @@ -94,30 +94,32 @@ - find . -name \*.o -print | xargs rm rm -f tags TAGS 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 hg/inc/*.h hg/encode3/encodeDataWarehouse/lib/*.c hg/encode3/encodeDataWarehouse/inc/*.h hg/encode3/eap/inc/*.h # build tags for libraries .PHONY: tags tags: ctags ${LIB_TAGS_IN} +cscope: + cscope -Rb # 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: find . -name '*.[ch]' | etags -