f611ffddb835252156f1c54c63e40bc31e54c760 max Thu Jul 31 07:43:16 2014 -0700 makeing cscope use absolute pathnames diff --git src/makefile src/makefile index 963f13e..7090314 100644 --- src/makefile +++ src/makefile @@ -95,30 +95,31 @@ 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: + find `pwd` -name '*.c' -o -name '*.h' > cscope.files 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 -