Skip to content

Commit 7008a1e

Browse files
Jason Cooperyrutschle
authored andcommitted
cscope: add cscope tagging support
Signed-off-by: Jason Cooper <[email protected]>
1 parent 820e31b commit 7008a1e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*.swp
22
*.swo
33
*.o
4+
cscope.*
45
echosrv
56
sslh-fork
67
sslh-select

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,18 @@ uninstall:
7777
update-rc.d sslh remove
7878

7979
distclean: clean
80-
rm -f tags
80+
rm -f tags cscope.*
8181

8282
clean:
8383
rm -f sslh-fork sslh-select echosrv $(MAN) *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info
8484

8585
tags:
8686
ctags --globals -T *.[ch]
8787

88+
cscope:
89+
-find . -name "*.[chS]" >cscope.files
90+
-cscope -b -R
91+
8892
test:
8993
./t
9094

0 commit comments

Comments
 (0)