From 25dee5df1a1014322e1cebcfe5c519fd9c5e0058 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 20 Nov 2020 11:50:08 +0100 Subject: [PATCH] Add abstract target names for index generation Signed-off-by: Gilles Peskine --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index cf250addb..3942fbd3d 100644 --- a/Makefile +++ b/Makefile @@ -129,7 +129,10 @@ tags: $(C_SOURCE_FILES) $(CTAGS) $@ $(C_SOURCE_FILES) TAGS: $(C_SOURCE_FILES) etags -o $@ $(C_SOURCE_FILES) +global: GPATH GRTAGS GSYMS GTAGS GPATH GRTAGS GSYMS GTAGS: $(C_SOURCE_FILES) ls $(C_SOURCE_FILES) | gtags -f - --gtagsconf .globalrc +cscope: cscope.in.out cscope.po.out cscope.out cscope.in.out cscope.po.out cscope.out: $(C_SOURCE_FILES) cscope -bq -u -Iinclude -Ilibrary $(patsubst %,-I%,$(wildcard 3rdparty/*/include)) -Itests/include $(C_SOURCE_FILES) +.PHONY: cscope global