cygwin: improve tags generation

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2017-11-27 13:38:43 +01:00
parent 9789cdffde
commit bc14f1c174
1 changed files with 4 additions and 1 deletions

View File

@ -774,7 +774,10 @@ sigfe.o: sigfe.s $(srcdir)/$(TLSOFFSETS_H)
ctags: CTAGS
tags: CTAGS
CTAGS:
-cd $(srcdir) && ctags -R --regex-C++='/^([a-zA-Z0-9_]*::[a-zA-Z0-9_]*) /\1/f/' .
-cd $(srcdir) && \
ctags -R --c++-kinds=+p --fields=+iaS --extra=+q \
--regex-C++='/EXPORT_ALIAS *\([[a-zA-Z0-9_]*, *([a-zA-Z0-9_]*)\)/\1/' \
@newlib_headers@ .
deps:=${wildcard *.d}
ifneq (,$(deps))