aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGilles Peskine <Gilles.Peskine@arm.com>2020-11-09 21:21:31 +0100
committerGilles Peskine <Gilles.Peskine@arm.com>2020-11-09 21:21:31 +0100
commitd0c780198d8b090ba8231d446a0f1eb3cf325096 (patch)
treeac0ddefaa21f224c464601f14537cbcb6954977f /Makefile
parent646ad22afc56adc290cee3b46a9e9de182951b22 (diff)
downloadmbedtls-d0c780198d8b090ba8231d446a0f1eb3cf325096.zip
mbedtls-d0c780198d8b090ba8231d446a0f1eb3cf325096.tar.gz
mbedtls-d0c780198d8b090ba8231d446a0f1eb3cf325096.tar.bz2
Add a target for the cscope index
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a6ee2ae..663df86 100644
--- a/Makefile
+++ b/Makefile
@@ -144,3 +144,5 @@ TAGS: $(C_SOURCE_FILES)
etags -o $@ $(C_SOURCE_FILES)
GPATH GRTAGS GSYMS GTAGS: $(C_SOURCE_FILES)
ls $(C_SOURCE_FILES) | gtags -f - --gtagsconf .globalrc
+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)