Generate tags for Vi, for Emacs and with Global

This commit is contained in:
Gilles Peskine 2018-01-16 14:04:05 +01:00
parent 799cd57c72
commit 6663e9c18f
3 changed files with 20 additions and 0 deletions

View file

@ -120,3 +120,12 @@ apidoc:
apidoc_clean:
rm -rf apidoc
endif
## Editor navigation files
C_SOURCE_FILES = $(wildcard include/*/*.h library/*.[hc] programs/*/*.[hc] tests/suites/*.function)
tags: $(C_SOURCE_FILES)
ctags -o $@ $(C_SOURCE_FILES)
TAGS: $(C_SOURCE_FILES)
etags -o $@ $(C_SOURCE_FILES)
GPATH GRTAGS GSYMS GTAGS: $(C_SOURCE_FILES)
ls $(C_SOURCE_FILES) | gtags -f - --gtagsconf .globalrc