mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-31 09:27:09 +00:00
Merge pull request #3158 from mpg/improve-make-tags-2.7
[backport 2.7] Improve ctags invocation in Makefile
This commit is contained in:
commit
c8355101c9
4
Makefile
4
Makefile
|
@ -111,8 +111,10 @@ endif
|
||||||
|
|
||||||
## Editor navigation files
|
## Editor navigation files
|
||||||
C_SOURCE_FILES = $(wildcard include/*/*.h library/*.[hc] programs/*/*.[hc] tests/suites/*.function)
|
C_SOURCE_FILES = $(wildcard include/*/*.h library/*.[hc] programs/*/*.[hc] tests/suites/*.function)
|
||||||
|
# Exuberant-ctags invocation. Other ctags implementations may require different options.
|
||||||
|
CTAGS = ctags --langmap=c:+.h.function -o
|
||||||
tags: $(C_SOURCE_FILES)
|
tags: $(C_SOURCE_FILES)
|
||||||
ctags -o $@ $(C_SOURCE_FILES)
|
$(CTAGS) $@ $(C_SOURCE_FILES)
|
||||||
TAGS: $(C_SOURCE_FILES)
|
TAGS: $(C_SOURCE_FILES)
|
||||||
etags -o $@ $(C_SOURCE_FILES)
|
etags -o $@ $(C_SOURCE_FILES)
|
||||||
GPATH GRTAGS GSYMS GTAGS: $(C_SOURCE_FILES)
|
GPATH GRTAGS GSYMS GTAGS: $(C_SOURCE_FILES)
|
||||||
|
|
Loading…
Reference in a new issue