[make] add 'make tags'

Tries to generate a curated ctags file for the current project and
configuration.
This commit is contained in:
Travis Geiselbrecht
2024-05-09 20:27:54 -07:00
parent 60bee01621
commit 5d8dd9c36a
3 changed files with 18 additions and 3 deletions

View File

@@ -355,7 +355,11 @@ list-arch:
list-toolchain:
@echo TOOLCHAIN_PREFIX = ${TOOLCHAIN_PREFIX}
.PHONY: all clean install list-arch list-toolchain
tags: $(BUILDDIR)/srcfiles.txt $(BUILDDIR)/include_paths.txt
$(info generating tags)
@ctags -L $<
.PHONY: all clean install list-arch list-toolchain tags
# generate a config.h file with all of the GLOBAL_DEFINES laid out in #define format
configheader: